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

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

Issue 2894843002: Revert of Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: rebase TestExpectations 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 1f78695231ce57869287f269829cf8bd1e1ddf51..694762a2d4c9fb177976e472e52d8c3908d1f1c2 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -93,8 +93,7 @@ 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, item.GetPaintRecordBounds()));
+ json->SetString("record", RecordAsDebugString(record));
}
}
#endif

Powered by Google App Engine
This is Rietveld 408576698