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

Unified Diff: third_party/WebKit/Source/core/input/EventHandlerTest.cpp

Issue 2374183004: Make non-null VisibleSelections creatable only by createVisibleSelection[Deprecated] (Closed)
Patch Set: Fix mac compile error Created 4 years, 3 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/input/EventHandlerTest.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
index eab65dce046b50f1852b9018bd032071cb2d3974..981b2cd58d748b9c5d2371c2c47740139d677a11 100644
--- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
@@ -255,7 +255,7 @@ TEST_F(EventHandlerTest, sendContextMenuEventWithHover)
ASSERT_NO_EXCEPTION);
document().body()->appendChild(script);
document().frame()->selection().setSelection(
- VisibleSelection(Position(document().body(), 0)));
+ createVisibleSelectionDeprecated(Position(document().body(), 0)));
PlatformMouseEvent mouseDownEvent(
IntPoint(0, 0),
IntPoint(100, 200),

Powered by Google App Engine
This is Rietveld 408576698