Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 694762a2d4c9fb177976e472e52d8c3908d1f1c2..1f78695231ce57869287f269829cf8bd1e1ddf51 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -93,7 +93,8 @@ std::unique_ptr<JSONArray> DisplayItemList::SubsequenceAsJSON(
const DrawingDisplayItem& item =
static_cast<const DrawingDisplayItem&>(display_item);
if (const PaintRecord* record = item.GetPaintRecord().get()) {
- json->SetString("record", RecordAsDebugString(record));
+ json->SetString("record", RecordAsDebugString(
+ record, item.GetPaintRecordBounds()));
}
}
#endif

Powered by Google App Engine
This is Rietveld 408576698