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

Unified Diff: ash/drag_drop/drag_drop_interactive_uitest.cc

Issue 2314233002: Remove calls to deprecated MessageLoop methods in ash. (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
Index: ash/drag_drop/drag_drop_interactive_uitest.cc
diff --git a/ash/drag_drop/drag_drop_interactive_uitest.cc b/ash/drag_drop/drag_drop_interactive_uitest.cc
index b74ffb6d723b3ca341f67f32465d4ad02af93c07..6464edeea2d00f021240ddfe11516edad95e5210 100644
--- a/ash/drag_drop/drag_drop_interactive_uitest.cc
+++ b/ash/drag_drop/drag_drop_interactive_uitest.cc
@@ -8,6 +8,7 @@
#include "ash/test/ash_interactive_ui_test_base.h"
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
sky 2016/09/06 21:51:52 Same comment here.
fdoray 2016/09/07 13:00:10 Still used at line 86.
+#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/base/dragdrop/drag_drop_types.h"
@@ -145,7 +146,7 @@ TEST_F(DragDropTest, MAYBE_DragDropAcrossMultiDisplay) {
ui_controls::SendMouseMoveNotifyWhenDone(
10, 10, base::Bind(&DragDropAcrossMultiDisplay_Step1));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
EXPECT_TRUE(target_view->dropped());

Powered by Google App Engine
This is Rietveld 408576698