| 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 dc73053c81ea21d00a0caf54fa45638805215bbe..ecd2587a18a7ee76be63b5e2202fc150bacf4c8b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1366,6 +1366,15 @@ 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
|
| + {
|
| + // This method should never be reached as it's overriden by subclasses.
|
| + NOTREACHED();
|
| + LayoutRect r;
|
| + return r;
|
| + }
|
| +
|
| // Painters can use const methods only, except for these explicitly declared methods.
|
| class MutableForPainting {
|
| public:
|
|
|