| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index cd988173ecf8f8c9027ca00b6b605c78f398bd3f..a0b079e22bd2dc5ac93328347872c62ac07b70cb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -325,9 +325,10 @@ String LayoutText::plainText() const {
|
|
|
| void LayoutText::absoluteRects(Vector<IntRect>& rects,
|
| const LayoutPoint& accumulatedOffset) const {
|
| - for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox())
|
| + for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) {
|
| rects.append(enclosingIntRect(LayoutRect(
|
| - LayoutPoint(accumulatedOffset) + box->topLeft(), box->size())));
|
| + LayoutPoint(accumulatedOffset) + box->location(), box->size())));
|
| + }
|
| }
|
|
|
| static FloatRect localQuadForTextBox(InlineTextBox* box,
|
|
|