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

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

Issue 2118613002: Add debugging output for visual rects in PaintController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none 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
Index: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
index 5ac24ee3d9f0882e3bc419cc11239a55d2096926..702a008538b88ebbd838c1a16ccba4df628eb9e5 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
@@ -44,7 +44,7 @@ void DrawingDisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringB
{
DisplayItem::dumpPropertiesAsDebugString(stringBuilder);
if (m_picture) {
- stringBuilder.append(WTF::String::format(", rect: [%f,%f,%f,%f]",
+ stringBuilder.append(WTF::String::format(", rect: [%f,%f %fx%f]",
wkorman 2016/07/01 19:04:06 Can remove WTF:: here in two places, also here and
m_picture->cullRect().x(), m_picture->cullRect().y(),
m_picture->cullRect().width(), m_picture->cullRect().height()));
}

Powered by Google App Engine
This is Rietveld 408576698