| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 62c38203fe8a1a0d5ceba1f1118acb965e115bc6..586386a8da55b0a172edcc391b55241765e80317 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4849,4 +4849,15 @@ SnapAreaSet* LayoutBox::snapAreas() const
|
| return m_rareData ? m_rareData->m_snapAreas.get() : nullptr;
|
| }
|
|
|
| +LayoutRect LayoutBox::debugRect() const
|
| +{
|
| + LayoutRect r = frameRect();
|
| +
|
| + LayoutBlock* cb = containingBlock();
|
| + if (cb)
|
| + cb->adjustForTableCells(r);
|
| +
|
| + return r;
|
| +}
|
| +
|
| } // namespace blink
|
|
|