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

Unified Diff: content/browser/compositor/reflector_impl_unittest.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: content/browser/compositor/reflector_impl_unittest.cc
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc
index ce9fbb9e6613fa72f49c10153a9966f84ec0b0d2..39ab49741f078410cd58be5d3b0fb3a1f4c4af80 100644
--- a/content/browser/compositor/reflector_impl_unittest.cc
+++ b/content/browser/compositor/reflector_impl_unittest.cc
@@ -120,9 +120,9 @@ class ReflectorImplTest : public testing::Test {
message_loop_.reset(new base::MessageLoop());
task_runner_ = message_loop_->task_runner();
compositor_task_runner_ = new FakeTaskRunner();
- compositor_.reset(new ui::Compositor(gfx::kNullAcceleratedWidget,
- context_factory,
- compositor_task_runner_.get()));
+ compositor_.reset(
+ new ui::Compositor(context_factory, compositor_task_runner_.get()));
+ compositor_->OnAcceleratedWidgetAvailable(gfx::kNullAcceleratedWidget);
context_provider_ = cc::TestContextProvider::Create(
cc::TestWebGraphicsContext3D::Create().Pass());
output_surface_ =

Powered by Google App Engine
This is Rietveld 408576698