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

Unified Diff: ui/aura/root_window_unittest.cc

Issue 154203002: Remove unnecessary uses of aura::Env::GetDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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: ui/aura/root_window_unittest.cc
diff --git a/ui/aura/root_window_unittest.cc b/ui/aura/root_window_unittest.cc
index abf8947ca9dd4b4514f88a43de511aa3eab19bc5..3fcfee24a9449ae08cf09b87ceb3175a11976ffa 100644
--- a/ui/aura/root_window_unittest.cc
+++ b/ui/aura/root_window_unittest.cc
@@ -443,8 +443,7 @@ class EventFilterRecorder : public ui::EventHandler {
void WaitUntilReceivedEvent(ui::EventType type) {
wait_until_event_ = type;
- run_loop_.reset(new base::RunLoop(
- Env::GetInstance()->GetDispatcher()));
+ run_loop_.reset(new base::RunLoop());
run_loop_->Run();
}

Powered by Google App Engine
This is Rietveld 408576698