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

Unified Diff: ui/compositor/test/test_compositor_host_x11.cc

Issue 421483003: Parameterize TaskRunner used by ui::Compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@task_runner
Patch Set: Add missing includes Created 6 years, 5 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/compositor/test/test_compositor_host_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_compositor_host_x11.cc
diff --git a/ui/compositor/test/test_compositor_host_x11.cc b/ui/compositor/test/test_compositor_host_x11.cc
index 4b940cbd2d7f5de9bebb8b09f71ffb072af052c7..9b2d2650b58aeb3ef9eb4d46ff509ad54e022318 100644
--- a/ui/compositor/test/test_compositor_host_x11.cc
+++ b/ui/compositor/test/test_compositor_host_x11.cc
@@ -75,7 +75,9 @@ void TestCompositorHostX11::Show() {
if (event.type == MapNotify && event.xmap.window == window_)
break;
}
- compositor_.reset(new ui::Compositor(window_, context_factory_));
+ compositor_.reset(new ui::Compositor(window_,
+ context_factory_,
+ base::MessageLoopProxy::current()));
compositor_->SetScaleAndSize(1.0f, bounds_.size());
}
« no previous file with comments | « ui/compositor/test/test_compositor_host_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698