Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r179750 - REGRESSION(r179706): Caused memory corruption on some…
… tests (Requested by _ap_ on #webkit). https://bugs.webkit.org/show_bug.cgi?id=141324 Reviewed by Alexey Proskuryakov. No new tests. This is caught by existing tests under ASAN, and I don't know how to reproduce it without ASAN. * rendering/RenderLineBoxList.cpp: (WebCore::RenderLineBoxList::dirtyLinesFromChangedChild): Give up and just always invalidate the next line. It's too hard to come up with the condition that catches all needed cases, doesn't itself cause a crash, and isn't overzealous. And we do this for the previous line anyway. Also clean up the code a bit since it confusingly reuses a variable, and declares it uninitialized, for no good reason.
- Loading branch information
1 parent
009cc58
commit 4065c79
Showing
2 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters