Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 2027b69db4542c9f4a0ca01c41949b13fa9e4f5c..e0346928397dfe8d0ae3fb9a4fcac89e6c60f7b1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1361,6 +1361,9 @@ public: |
// Called before anonymousChild.setStyle(). Override to set custom styles for the child. |
virtual void updateAnonymousChildStyle(const LayoutObject& anonymousChild, ComputedStyle& style) const { } |
+ // Returns a rect corresponding to this LayoutObject's bounds for use in debugging output |
+ virtual LayoutRect debugRect() const; |
+ |
// Painters can use const methods only, except for these explicitly declared methods. |
class MutableForPainting { |
public: |