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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/shelf/shelf_layout_manager_unittest.cc
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index 9f37d72b9ce69f9fe7651decffe945f3da76a24d..a0ae488480e9628dc5f69b559b10da85394177a3 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -32,6 +32,7 @@
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
#include "base/command_line.h"
+#include "base/run_loop.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/window.h"
@@ -89,7 +90,7 @@ class ShelfAnimationWaiter : views::WidgetObserver {
if (IsDoneAnimating())
done_waiting_ = true;
else
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
// Returns true if the animation has completed and it was valid.
« no previous file with comments | « no previous file | ash/shell/content/client/shell_browser_main_parts.cc » ('j') | base/message_loop/message_loop_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698