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

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

Issue 2853343003: Remove use_selection_height from LayoutText::AbsoluteQuadsForRange (Closed)
Patch Set: Created 3 years, 8 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
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 938e7c2acac291ee8ab4a70f35508cae5947b084..61ef7b0754660f77c4a9c521bd2175fef1fa8efc 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1485,8 +1485,7 @@ IntRect Range::BoundingBox() const {
return result;
}
-void Range::TextQuads(Vector<FloatQuad>& quads,
- bool use_selection_height) const {
+void Range::TextQuads(Vector<FloatQuad>& quads) const {
Node* start_container = &start_.Container();
DCHECK(start_container);
Node* end_container = &end_.Container();
@@ -1503,8 +1502,7 @@ void Range::TextQuads(Vector<FloatQuad>& quads,
unsigned end_offset = node == end_container
? end_.Offset()
: std::numeric_limits<unsigned>::max();
- layout_text->AbsoluteQuadsForRange(quads, start_offset, end_offset,
- use_selection_height);
+ layout_text->AbsoluteQuadsForRange(quads, start_offset, end_offset);
}
}

Powered by Google App Engine
This is Rietveld 408576698