Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
index e478f8a76bf0250f84190cb79094c9567d8b1a19..ff5b53ed62416abbd8875cb6861ac258514a5548 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
@@ -506,6 +506,10 @@ WTF::String PaintController::displayItemListAsDebugString(const DisplayItemList& |
stringBuilder.append(", cacheIsValid: "); |
stringBuilder.append(clientCacheIsValid(displayItem.client()) ? "true" : "false"); |
} |
+ IntRect visualRect = list.visualRect(i); |
+ stringBuilder.append(WTF::String::format(", visualRect: [%d,%d,%d,%d]", |
wkorman
2016/06/30 22:25:55
Can we tweak to match the new toString() format so
chrishtr
2016/06/30 22:29:10
Done.
|
+ visualRect.x(), visualRect.y(), |
+ visualRect.width(), visualRect.height())); |
stringBuilder.append('}'); |
} |
return stringBuilder.toString(); |