| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 86d1e889b5fd5bd972f422ba3ca92380bb70160f..edca61dc55e4867b12316f582ac82bdd08535666 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -3244,6 +3244,16 @@ ObjectPaintProperties& LayoutObject::ensureObjectPaintProperties()
|
| return *addResult.storedValue->value;
|
| }
|
|
|
| +LayoutRect LayoutObject::debugRect() const
|
| +{
|
| + LayoutRect rect;
|
| + LayoutBlock* block = containingBlock();
|
| + if (block)
|
| + block->adjustChildDebugRect(rect);
|
| +
|
| + return rect;
|
| +}
|
| +
|
| } // namespace blink
|
|
|
| #ifndef NDEBUG
|
|
|