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

Unified Diff: third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp

Issue 2849403002: Use const ref for LocalFrame::LocalFrameRoot and FrameTree::Top (Closed)
Patch Set: fix compile and dchecks Created 3 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.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/web/tests/LinkSelectionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
index 97db44975b780be679fa16a003ed5e73e527b1b9..19dc916361d22a35effe112ea746f0fe67b38b9c 100644
--- a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
@@ -175,7 +175,7 @@ TEST_F(LinkSelectionTest, HandCursorDuringLinkDrag) {
kSendDownEvent);
main_frame_->GetFrame()
->LocalFrameRoot()
- ->GetEventHandler()
+ .GetEventHandler()
.ScheduleCursorUpdate();
testing::RunDelayedTasks(50);
const auto& cursor =
@@ -188,7 +188,7 @@ TEST_F(LinkSelectionTest, CaretCursorOverLinkDuringSelection) {
WebInputEvent::kAltKey, kSendDownEvent);
main_frame_->GetFrame()
->LocalFrameRoot()
- ->GetEventHandler()
+ .GetEventHandler()
.ScheduleCursorUpdate();
testing::RunDelayedTasks(50);
const auto& cursor =
@@ -208,7 +208,7 @@ TEST_F(LinkSelectionTest, HandCursorOverLinkAfterContextMenu) {
// Hide context menu.
frame->GetPage()->GetContextMenuController().ClearContextMenu();
- frame->LocalFrameRoot()->GetEventHandler().ScheduleCursorUpdate();
+ frame->LocalFrameRoot().GetEventHandler().ScheduleCursorUpdate();
testing::RunDelayedTasks(50);
const auto& cursor =
main_frame_->GetFrame()->GetChromeClient().LastSetCursorForTesting();
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698