| 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..f82dcd054e2c1ca8d75f99de00f3ec5caa95fa08 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -373,7 +373,7 @@ void LayoutText::absoluteRectsForRange(Vector<IntRect>& rects,
|
| // Note: box->end() returns the index of the last character, not the index
|
| // past it
|
| if (start <= box->start() && box->end() < end) {
|
| - FloatRect r(box->calculateBoundaries());
|
| + FloatRect r(box->frameRect());
|
| if (useSelectionHeight) {
|
| LayoutRect selectionRect = box->localSelectionRect(start, end);
|
| if (box->isHorizontal()) {
|
| @@ -425,7 +425,7 @@ void LayoutText::quads(Vector<FloatQuad>& quads,
|
| ClippingOption option,
|
| LocalOrAbsoluteOption localOrAbsolute) const {
|
| for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) {
|
| - FloatRect boundaries(box->calculateBoundaries());
|
| + FloatRect boundaries(box->frameRect());
|
|
|
| // Shorten the width of this text box if it ends in an ellipsis.
|
| // FIXME: ellipsisRectForBox should switch to return FloatRect soon with the
|
| @@ -478,7 +478,7 @@ void LayoutText::absoluteQuadsForRange(Vector<FloatQuad>& quads,
|
| // Note: box->end() returns the index of the last character, not the index
|
| // past it
|
| if (start <= box->start() && box->end() < end) {
|
| - LayoutRect r(box->calculateBoundaries());
|
| + LayoutRect r(box->frameRect());
|
| if (useSelectionHeight) {
|
| LayoutRect selectionRect = box->localSelectionRect(start, end);
|
| if (box->isHorizontal()) {
|
|
|