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

Unified Diff: gpu/tools/compositor_model_bench/compositor_model_bench.cc

Issue 14273038: gpu: 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 | « gpu/gles2_conform_support/native/main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/tools/compositor_model_bench/compositor_model_bench.cc
diff --git a/gpu/tools/compositor_model_bench/compositor_model_bench.cc b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
index 813989660793e30a65b72b7602b04b23a4d1d2a8..3b56e455877ff92d2aefd13b1b0037538d0d8d9f 100644
--- a/gpu/tools/compositor_model_bench/compositor_model_bench.cc
+++ b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
@@ -113,7 +113,7 @@ class Simulator {
}
base::AtExitManager at_exit;
- MessageLoop loop;
+ base::MessageLoop loop;
if (!InitX11() || !InitGLContext()) {
LOG(FATAL) << "Failed to set up GUI.";
}
@@ -267,7 +267,7 @@ class Simulator {
ExposureMask,
reinterpret_cast<XEvent*>(&ev));
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&Simulator::UpdateLoop, weak_factory_.GetWeakPtr()));
}
@@ -325,7 +325,7 @@ class Simulator {
if (!sims_remaining_.size()) {
DumpOutput();
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
return false;
}
« no previous file with comments | « gpu/gles2_conform_support/native/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698