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

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

Issue 2118613002: Add debugging output for visual rects in PaintController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698