Index: cc/test/pixel_test_output_surface.cc |
diff --git a/cc/test/pixel_test_output_surface.cc b/cc/test/pixel_test_output_surface.cc |
index ffc3d26c465814ecdbde0a9663423f4381eccb07..8306cc8cd6cd6012ec01ba55820d0513016756b1 100644 |
--- a/cc/test/pixel_test_output_surface.cc |
+++ b/cc/test/pixel_test_output_surface.cc |
@@ -9,6 +9,14 @@ |
namespace cc { |
+PixelTestOutputSurface::PixelTestOutputSurface( |
+ scoped_refptr<ContextProvider> context_provider) |
+ : OutputSurface(context_provider), external_stencil_test_(false) {} |
+ |
+PixelTestOutputSurface::PixelTestOutputSurface( |
+ scoped_ptr<cc::SoftwareOutputDevice> software_device) |
+ : OutputSurface(software_device.Pass()), external_stencil_test_(false) {} |
+ |
void PixelTestOutputSurface::Reshape(gfx::Size size, float scale_factor) { |
gfx::Size expanded_size(size.width() + surface_expansion_size_.width(), |
size.height() + surface_expansion_size_.height()); |
@@ -22,4 +30,8 @@ void PixelTestOutputSurface::Reshape(gfx::Size size, float scale_factor) { |
gfx::Transform(), offset_viewport, offset_clip, true); |
} |
+bool PixelTestOutputSurface::HasExternalStencilTest() const { |
+ return external_stencil_test_; |
+} |
+ |
} // namespace cc |