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

Unified Diff: Source/platform/geometry/FloatRect.h

Issue 1072403007: Fixup a bug about SVG text selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Draft 13 Created 5 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: Source/platform/geometry/FloatRect.h
diff --git a/Source/platform/geometry/FloatRect.h b/Source/platform/geometry/FloatRect.h
index 5e6d5e962916889afbfd634ec0f29054b608672e..310faad91b506eff5055b33793996cba8025a43d 100644
--- a/Source/platform/geometry/FloatRect.h
+++ b/Source/platform/geometry/FloatRect.h
@@ -163,6 +163,7 @@ public:
void inflate(float d) { inflateX(d); inflateY(d); }
void scale(float s) { scale(s, s); }
void scale(float sx, float sy);
+ float distanceFromPoint(const FloatPoint&);
FloatRect transposedRect() const { return FloatRect(m_location.transposedPoint(), m_size.transposedSize()); }

Powered by Google App Engine
This is Rietveld 408576698