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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h

Issue 1541083002: Fix invalid selection produced when dragging mouse outside the SVG text element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/layout/svg/SVGLayoutSupport.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
index d5b8df4e5798e86531c617761fac70d8a312297f..ec6b6fc594886251557d41f6abe5f44c5b37271e 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
@@ -108,6 +108,8 @@ public:
static AffineTransform deprecatedCalculateTransformToLayer(const LayoutObject*);
static float calculateScreenFontSizeScalingFactor(const LayoutObject*);
+ static LayoutObject* findSelectedLayoutSVGText(LayoutObject*, const FloatPoint);
fs 2016/01/18 12:44:11 const FloatPoint&
+
private:
static void updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, LayoutObject* other, FloatRect otherBoundingBox);
static bool layoutSizeOfNearestViewportChanged(const LayoutObject* start);

Powered by Google App Engine
This is Rietveld 408576698