Index: ui/gfx/compositor/layer_unittest.cc |
diff --git a/ui/gfx/compositor/layer_unittest.cc b/ui/gfx/compositor/layer_unittest.cc |
index 4f4cfe47ba5c3bdf4484326311d2e0fcb7170476..8accd0bdfb58239283a1e3d32e449088d9a91395 100644 |
--- a/ui/gfx/compositor/layer_unittest.cc |
+++ b/ui/gfx/compositor/layer_unittest.cc |
@@ -362,7 +362,7 @@ class LayerWithDelegateTest : public testing::Test, public CompositorDelegate { |
// Overridden from testing::Test: |
virtual void SetUp() OVERRIDE { |
ui::SetupTestCompositor(); |
- compositor_ = ui::Compositor::Create(this, NULL, gfx::Size(1000, 1000)); |
+ compositor_ = new ui::Compositor(this, NULL, gfx::Size(1000, 1000)); |
} |
virtual void TearDown() OVERRIDE { |