Index: ui/gfx/compositor/test/test_compositor_host_mac.mm |
diff --git a/ui/gfx/compositor/test/test_compositor_host_mac.mm b/ui/gfx/compositor/test/test_compositor_host_mac.mm |
index 6b905f98bcfee771679583e712dd55f1ac0da093..0a4f426b984a2d9da9938cb236c254a52a0df6a3 100644 |
--- a/ui/gfx/compositor/test/test_compositor_host_mac.mm |
+++ b/ui/gfx/compositor/test/test_compositor_host_mac.mm |
@@ -126,7 +126,7 @@ void TestCompositorHostMac::Show() { |
backing:NSBackingStoreBuffered |
defer:NO]; |
scoped_nsobject<AcceleratedTestView> view([[AcceleratedTestView alloc] init]); |
- compositor_ = ui::Compositor::Create(this, view, bounds_.size()); |
+ compositor_ = new ui::Compositor(this, view, bounds_.size()); |
[view setCompositor:compositor_]; |
[window_ setContentView:view]; |
[window_ orderFront:nil]; |