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

Unified Diff: ui/aura/bench/bench_main.cc

Issue 14061025: ui: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ui/app_list/views/search_result_list_view.cc ('k') | ui/aura/client/dispatcher_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index 38581f61ece6105a64a04ea36a8bf4930ff910ce..e397929baaa129436b424711ec9386e43a7327a3 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -111,7 +111,7 @@ class BenchCompositorObserver : public ui::CompositorObserver {
}
}
if (max_frames_ && frames_ == max_frames_) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
} else {
Draw();
}
@@ -301,7 +301,7 @@ int main(int argc, char** argv) {
icu_util::Initialize();
ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
- MessageLoop message_loop(MessageLoop::TYPE_UI);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
ui::CompositorTestSupport::Initialize();
aura::Env::GetInstance();
scoped_ptr<aura::TestScreen> test_screen(
@@ -357,7 +357,7 @@ int main(int argc, char** argv) {
#endif
root_window->ShowRootWindow();
- MessageLoopForUI::current()->Run();
+ base::MessageLoopForUI::current()->Run();
focus_client.reset();
root_window.reset();
« no previous file with comments | « ui/app_list/views/search_result_list_view.cc ('k') | ui/aura/client/dispatcher_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698