|
|
Change all one-off lifecycle callers to FrameView::updateLayoutAndStyleForPainting
This makes sure that the compositing and paint invalidation steps are not missed.
Compositing in particular is needed for hit testing.
Second, fix FrameView::updateLayoutAndStyleForPainting to always start from the
root document frame. Otherwise parent frames of the current frame may not get
advanced, and we may end up with inconsistent lifecycle states across these frames,
which can lead to all kinds of havoc.
Finally, make several related methods private in FrameView to help enforce correct
behavior.
BUG= 476590
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195138
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+51 lines, -44 lines) |
Patch |
 |
M |
Source/core/css/AffectedByFocusTest.cpp
|
View
|
1
2
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/DragUpdateTest.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/DocumentTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/FrameSelectionTest.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/iterators/TextIteratorTest.cpp
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFormControlElementTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLSelectElementTest.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElementTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasRenderingContext2DTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutTestHelper.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutThemeTest.cpp
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutView.cpp
|
View
|
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/ContextMenuControllerTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/EventHandler.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/DeprecatedPaintLayer.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/TextPainterTest.cpp
|
View
|
1
2
3
4
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebAXObject.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebLocalFrameImpl.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|