Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp |
index 02248582ddee55b3518303f2d6f334e1dc41190c..5686ef195e29d0dd213ce14081a41b9e9d0d584b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp |
@@ -9,6 +9,7 @@ namespace blink { |
struct SameSizeAsDisplayItem { |
virtual ~SameSizeAsDisplayItem() {} // Allocate vtable pointer. |
void* pointer; |
+ LayoutRect rect; |
int i; |
#ifndef NDEBUG |
WTF::String debug_string_; |
@@ -244,6 +245,8 @@ void DisplayItem::DumpPropertiesAsDebugString( |
string_builder.Append(' '); |
string_builder.Append(ClientDebugString()); |
} |
+ string_builder.Append("\", visualRect: \""); |
+ string_builder.Append(VisualRect().ToString()); |
string_builder.Append("\", type: \""); |
string_builder.Append(TypeAsDebugString(GetType())); |
string_builder.Append('"'); |