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

Unified Diff: ui/compositor/test/test_compositor_host_win.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: ui/compositor/test/test_compositor_host_win.cc
diff --git a/ui/compositor/test/test_compositor_host_win.cc b/ui/compositor/test/test_compositor_host_win.cc
index 3cdd2835f4ee43fc857f6f3d09513f651e01bb1c..1c28645fd7290ff5efccd255ecb1b80172ee0112 100644
--- a/ui/compositor/test/test_compositor_host_win.cc
+++ b/ui/compositor/test/test_compositor_host_win.cc
@@ -18,9 +18,9 @@ class TestCompositorHostWin : public TestCompositorHost,
TestCompositorHostWin(const gfx::Rect& bounds,
ui::ContextFactory* context_factory) {
Init(NULL, bounds);
- compositor_.reset(new ui::Compositor(hwnd(),
- context_factory,
+ compositor_.reset(new ui::Compositor(context_factory,
base::ThreadTaskRunnerHandle::Get()));
+ compositor_->OnAcceleratedWidgetAvailable(hwnd());
compositor_->SetScaleAndSize(1.0f, GetSize());
}

Powered by Google App Engine
This is Rietveld 408576698