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 |