| 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 8c6a6be5c4b79a6b3ff8817b3513db8f1720fd69..7e8f2d7cc5cb804a9223ceafe91e357213d5585d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -282,7 +282,7 @@ LayoutRect LayoutInline::localCaretRect(InlineBox* inlineBox,
|
| localCaretRectForEmptyElement(borderAndPaddingWidth(), LayoutUnit());
|
|
|
| if (InlineBox* firstBox = firstLineBox())
|
| - caretRect.moveBy(firstBox->topLeft());
|
| + caretRect.moveBy(firstBox->location());
|
|
|
| return caretRect;
|
| }
|
| @@ -609,7 +609,7 @@ void LayoutInline::generateLineBoxRects(GeneratorContext& yield) const {
|
| generateCulledLineBoxRects(yield, this);
|
| } else if (InlineFlowBox* curr = firstLineBox()) {
|
| for (; curr; curr = curr->nextLineBox())
|
| - yield(LayoutRect(curr->topLeft(), curr->size()));
|
| + yield(LayoutRect(curr->location(), curr->size()));
|
| }
|
| }
|
|
|
| @@ -784,7 +784,7 @@ void LayoutInline::absoluteQuadsForSelf(Vector<FloatQuad>& quads) const {
|
|
|
| LayoutPoint LayoutInline::firstLineBoxTopLeft() const {
|
| if (InlineBox* firstBox = firstLineBoxIncludingCulling())
|
| - return firstBox->topLeft();
|
| + return firstBox->location();
|
| return LayoutPoint();
|
| }
|
|
|
|
|