Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: third_party/WebKit/Source/core/dom/Range.cpp

Issue 2880273002: Remove Range::TextQuads() and instead use ComputeTextQuads. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.h ('k') | third_party/WebKit/Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index de056bbffe1d70c4388b1d4ddd094fde4bebe475..fd19925e83e54d4890d4fc8df27d977d29f379d3 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1448,12 +1448,6 @@ IntRect Range::BoundingBox() const {
return result;
}
-// TODO(tanvir.rizvi): We will replace Range::TextQuads with
-// ComputeTextQuads(in VisibleUnits) and get rid of Range::TextQuads.
-void Range::TextQuads(Vector<FloatQuad>& quads) const {
- quads.AppendVector(ComputeTextQuads(EphemeralRange(this)));
-}
-
bool AreRangesEqual(const Range* a, const Range* b) {
if (a == b)
return true;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.h ('k') | third_party/WebKit/Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698