| 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 4ea0df8fc0713654cf475840ec7769f43d423ce3..3f0e5dcaa73334f632f85129f332e8d5cad7b10a 100644
|
| --- a/ui/compositor/test/test_compositor_host_win.cc
|
| +++ b/ui/compositor/test/test_compositor_host_win.cc
|
| @@ -14,9 +14,10 @@ namespace ui {
|
| class TestCompositorHostWin : public TestCompositorHost,
|
| public gfx::WindowImpl {
|
| public:
|
| - TestCompositorHostWin(const gfx::Rect& bounds) {
|
| + TestCompositorHostWin(const gfx::Rect& bounds,
|
| + ui::ContextFactory* context_factory) {
|
| Init(NULL, bounds);
|
| - compositor_.reset(new ui::Compositor(hwnd()));
|
| + compositor_.reset(new ui::Compositor(hwnd(), context_factory));
|
| compositor_->SetScaleAndSize(1.0f, GetSize());
|
| }
|
|
|
| @@ -53,8 +54,10 @@ class TestCompositorHostWin : public TestCompositorHost,
|
| DISALLOW_COPY_AND_ASSIGN(TestCompositorHostWin);
|
| };
|
|
|
| -TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) {
|
| - return new TestCompositorHostWin(bounds);
|
| +TestCompositorHost* TestCompositorHost::Create(
|
| + const gfx::Rect& bounds,
|
| + ui::ContextFactory* context_factory) {
|
| + return new TestCompositorHostWin(bounds, context_factory);
|
| }
|
|
|
| } // namespace ui
|
|
|