Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Range.h |
| diff --git a/third_party/WebKit/Source/core/dom/Range.h b/third_party/WebKit/Source/core/dom/Range.h |
| index 295565840782f37a5314ca24455dd1d6858f541e..75fc4813ea2a8634c2730336af420c1d62ed7356 100644 |
| --- a/third_party/WebKit/Source/core/dom/Range.h |
| +++ b/third_party/WebKit/Source/core/dom/Range.h |
| @@ -30,6 +30,7 @@ |
| #include "bindings/core/v8/ScriptWrappable.h" |
| #include "core/CoreExport.h" |
| #include "core/dom/RangeBoundaryPoint.h" |
| +#include "core/editing/EphemeralRange.h" |
| #include "platform/geometry/FloatRect.h" |
| #include "platform/geometry/IntRect.h" |
| #include "platform/heap/Handle.h" |
| @@ -140,8 +141,8 @@ class CORE_EXPORT Range final : public GarbageCollected<Range>, |
| Node* pastLastNode() const; |
| // Not transform-friendly |
| - void textRects(Vector<IntRect>&, bool useSelectionHeight = false) const; |
| IntRect boundingBox() const; |
| + IntRect computeBoundingBox(const EphemeralRange&) const; |
|
yosin_UTC9
2017/04/07 04:48:10
No need to introduce |computeBondingBox()| in this
Hwanseung Lee
2017/04/07 17:55:53
Done.
|
| // Transform-friendly |
| void textQuads(Vector<FloatQuad>&, bool useSelectionHeight = false) const; |