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

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

Issue 2375383005: Prune CreateVisibleSelectionDeprecated from unit test files (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 981b2cd58d748b9c5d2371c2c47740139d677a11..80c8fa91b95954bcf645af247ea96f8407540b5c 100644
--- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
@@ -254,8 +254,9 @@ TEST_F(EventHandlerTest, sendContextMenuEventWithHover)
"document.addEventListener('contextmenu', event => event.preventDefault());",
ASSERT_NO_EXCEPTION);
document().body()->appendChild(script);
+ document().updateStyleAndLayout();
document().frame()->selection().setSelection(
- createVisibleSelectionDeprecated(Position(document().body(), 0)));
+ createVisibleSelection(Position(document().body(), 0)));
PlatformMouseEvent mouseDownEvent(
IntPoint(0, 0),
IntPoint(100, 200),
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698