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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutReplaced.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/LayoutReplaced.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.h b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
index 0143afb52279f4c159eac5d605f9f10f9d3ebe18..cb995320f533f512306a776e29c7f42143f07cfa 100644
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.h
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
@@ -101,11 +101,11 @@ protected:
virtual LayoutBox* embeddedContentBox() const { return nullptr; }
+ PositionWithAffinity positionForPoint(const LayoutPoint&) override;
+
private:
void computePreferredLogicalWidths() final;
- PositionWithAffinity positionForPoint(const LayoutPoint&) final;
-
bool canBeSelectionLeaf() const override { return true; }
LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const final;

Powered by Google App Engine
This is Rietveld 408576698