|
Optimize repaint on FrameView resize
Previously we always repaint the full FrameView on resize.
Don't mark full repaint if the resize is height-only and writing mode
is horizontal. Any descendants needing repaint because of FrameView
resize will still schedule their own repaints.
BUG= 258219
TEST=WebFrameTest.sizeChangeRepaint
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170427
Total comments: 2
Total comments: 6
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+181 lines, -8 lines) |
Patch |
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
|
5 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
3
4
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint1.html
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint10.html
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint2.html
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint3.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint4.html
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint5.html
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint6.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint7.html
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint8.html
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/repaint/size-change-repaint9.html
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 39 (0 generated)
|