Index: ui/gfx/compositor/test/test_compositor_host_win.cc |
diff --git a/ui/gfx/compositor/test/test_compositor_host_win.cc b/ui/gfx/compositor/test/test_compositor_host_win.cc |
index b4cf17c6b0db880aebf2a4f5e76e03dbd23b5ba7..f86399479d3b2988b4884c79b0177fc35bde7ea2 100644 |
--- a/ui/gfx/compositor/test/test_compositor_host_win.cc |
+++ b/ui/gfx/compositor/test/test_compositor_host_win.cc |
@@ -16,7 +16,7 @@ class TestCompositorHostWin : public TestCompositorHost, |
public: |
TestCompositorHostWin(const gfx::Rect& bounds) { |
Init(NULL, bounds); |
- compositor_ = ui::Compositor::Create(this, hwnd(), GetSize()); |
+ compositor_ = new ui::Compositor(this, hwnd(), GetSize()); |
} |
virtual ~TestCompositorHostWin() { |