Index: cc/test/fake_output_surface.cc |
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc |
index 6c5bc9f849d0fc95ec0b7c4637aeb04c4c35a036..d393ba0c44f17ded1f7145dc1671eb0ad87fb100 100644 |
--- a/cc/test/fake_output_surface.cc |
+++ b/cc/test/fake_output_surface.cc |
@@ -30,6 +30,17 @@ FakeOutputSurface::FakeOutputSurface( |
capabilities_.has_parent_compositor = has_parent; |
} |
+FakeOutputSurface::FakeOutputSurface( |
+ scoped_ptr<WebKit::WebGraphicsContext3D> context3d, |
+ scoped_ptr<SoftwareOutputDevice> software_device, |
+ bool has_parent) |
+ : OutputSurface(context3d.Pass(), software_device.Pass()), |
+ num_sent_frames_(0), |
+ forced_draw_to_software_device_(false), |
+ weak_ptr_factory_(this) { |
+ capabilities_.has_parent_compositor = has_parent; |
+} |
+ |
FakeOutputSurface::~FakeOutputSurface() {} |
void FakeOutputSurface::SendFrameToParentCompositor( |