| 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 497a705aced9258dd8cb01c42b35ef0116eb88f7..ec6437da002cb3e7be5655e60fb19503d5b16096 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -367,7 +367,7 @@ static FloatRect LocalQuadForTextBox(InlineTextBox* box,
|
| void LayoutText::AbsoluteRectsForRange(Vector<IntRect>& rects,
|
| unsigned start,
|
| unsigned end,
|
| - bool use_selection_height) {
|
| + bool use_selection_height) const {
|
| // Work around signed/unsigned issues. This function takes unsigneds, and is
|
| // often passed UINT_MAX to mean "all the way to the end". InlineTextBox
|
| // coordinates are unsigneds, so changing this function to take ints causes
|
| @@ -486,7 +486,7 @@ void LayoutText::AbsoluteQuads(Vector<FloatQuad>& quads,
|
| void LayoutText::AbsoluteQuadsForRange(Vector<FloatQuad>& quads,
|
| unsigned start,
|
| unsigned end,
|
| - bool use_selection_height) {
|
| + bool use_selection_height) const {
|
| // Work around signed/unsigned issues. This function takes unsigneds, and is
|
| // often passed UINT_MAX to mean "all the way to the end". InlineTextBox
|
| // coordinates are unsigneds, so changing this function to take ints causes
|
|
|