Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
| index d7292ad64408c455867d8c40a39da4eb7981ce11..c3f23f10a33fa5d6f954b9215cd12441797ab435 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
| @@ -14,12 +14,8 @@ |
| namespace blink { |
| -DisplayItem& DisplayItemList::appendByMoving(DisplayItem& item, const IntRect& visualRect, SkPictureGpuAnalyzer& gpuAnalyzer) |
| +DisplayItem& DisplayItemList::appendByMoving(DisplayItem& item) |
| { |
| - // No reason to continue the analysis once we have a veto. |
|
jbroman
2016/07/06 19:09:37
Why is this no longer needed?
Xianzhu
2016/07/06 19:29:34
Now this is done in PaintController::commitNewDisp
|
| - if (gpuAnalyzer.suitableForGpuRasterization()) |
| - item.analyzeForGpuRasterization(gpuAnalyzer); |
| - |
| #ifndef NDEBUG |
| String originalDebugString = item.asDebugString(); |
| #endif |
| @@ -33,7 +29,6 @@ DisplayItem& DisplayItemList::appendByMoving(DisplayItem& item, const IntRect& v |
| // Save original debug string in the old item to help debugging. |
| item.setClientDebugString(originalDebugString); |
| #endif |
| - appendVisualRect(visualRect); |
| return result; |
| } |