Index: third_party/WebKit/Source/core/dom/RangeTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/RangeTest.cpp b/third_party/WebKit/Source/core/dom/RangeTest.cpp |
index bec09849d920cfbcd5a299846b7e4b57a4b8a39d..fbca336ea04424bd7f8cbd35ae842f9cbe2f3708 100644 |
--- a/third_party/WebKit/Source/core/dom/RangeTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/RangeTest.cpp |
@@ -10,6 +10,7 @@ |
#include "core/dom/NodeList.h" |
#include "core/dom/Text.h" |
#include "core/editing/EditingTestBase.h" |
+#include "core/editing/VisibleUnits.h" |
#include "core/frame/Settings.h" |
#include "core/html/HTMLBodyElement.h" |
#include "core/html/HTMLDivElement.h" |
@@ -250,7 +251,7 @@ TEST_F(RangeTest, MultipleTextQuads) { |
Position end(GetDocument().getElementById("two")->firstChild(), 3); |
Range* range = Range::Create(GetDocument(), start, end); |
Vector<FloatQuad> quads; |
- range->TextQuads(quads); |
+ quads.AppendVector(ComputeTextQuads(EphemeralRange(range))); |
EXPECT_EQ(2u, quads.size()); |
} |