Index: content/browser/compositor/reflector_impl_unittest.cc |
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc |
index 03672bffda776483f8fba4524b815895bb2d6fa7..e1a5af31e5d7537d73aab516f0fbf1e08e48932a 100644 |
--- a/content/browser/compositor/reflector_impl_unittest.cc |
+++ b/content/browser/compositor/reflector_impl_unittest.cc |
@@ -41,8 +41,10 @@ |
class TestOutputSurface : public BrowserCompositorOutputSurface { |
public: |
TestOutputSurface( |
- const scoped_refptr<cc::ContextProvider>& context_provider) |
- : BrowserCompositorOutputSurface(context_provider) {} |
+ const scoped_refptr<cc::ContextProvider>& context_provider, |
+ const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager) |
+ : BrowserCompositorOutputSurface(context_provider, |
+ vsync_manager) {} |
void SetFlip(bool flip) { capabilities_.flipped_output_surface = flip; } |
@@ -80,7 +82,9 @@ |
context_provider_ = cc::TestContextProvider::Create( |
cc::TestWebGraphicsContext3D::Create().Pass()); |
output_surface_ = |
- scoped_ptr<TestOutputSurface>(new TestOutputSurface(context_provider_)); |
+ scoped_ptr<TestOutputSurface>( |
+ new TestOutputSurface(context_provider_, |
+ compositor_->vsync_manager())).Pass(); |
CHECK(output_surface_->BindToClient(&output_surface_client_)); |
mirroring_layer_.reset(new ui::Layer(ui::LAYER_SOLID_COLOR)); |