| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index cdba7996663ac8bf8fd6205f646be54aa54c375c..b23eb2c875b98e8f99711bf0c056c0ffbdf8cce1 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -1376,4 +1376,11 @@ void LayoutInline::invalidateDisplayItemClients(PaintInvalidationReason invalida
|
| paintInvalidator.invalidateDisplayItemClient(*box, invalidationReason);
|
| }
|
|
|
| +// TODO(lunalu): Not to just dump 0, 0 as the x and y here
|
| +LayoutRect LayoutInline::debugRect() const
|
| +{
|
| + IntRect linesBox = enclosingIntRect(linesBoundingBox());
|
| + return LayoutRect(IntRect(0, 0, linesBox.width(), linesBox.height()));
|
| +}
|
| +
|
| } // namespace blink
|
|
|