|
Don't access DisplayItemClient::VisualRect() for cached display items.
- Access DisplayItemClient::VisualRect() when a new DisplayItem is
created, and save it in the new DisplayItem.
- When a cached display item is copied, don't access DisplayItemClient::
VisualRect() but fetch from the cached DisplayItem.
- Remove DisplayItemList::visual_rects_.
- Save original visual rects (LayoutRect) and apply GraphicsLayer offset
with EnclosingIntRect() when the display items are added into
WebDisplayItemList.
Please see the bug for the reason.
BUG= 724263
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2894093002
Cr-Commit-Position: refs/heads/master@{#473371}
Committed: https://chromium.googlesource.com/chromium/src/+/3c7f1c4ecd1421d074daa5a103ea3f895c1c8724
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+197 lines, -243 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
|
View
|
1
2
|
6 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
|
View
|
|
2 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -30 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
View
|
1
2
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItemTest.cpp
|
View
|
1
2
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
|
View
|
1
2
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
View
|
1
2
|
2 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
View
|
1
2
|
9 chunks |
+20 lines, -28 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
View
|
|
12 chunks |
+11 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 34 (23 generated)
|