Index: cc/test/fake_output_surface.h |
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h |
index 3f87bd3463063f9ad6f7f95d591c5a8ac79393e0..ab910894a63c98f88e0d6f21514986ec92ec3582 100644 |
--- a/cc/test/fake_output_surface.h |
+++ b/cc/test/fake_output_surface.h |
@@ -108,6 +108,12 @@ class FakeOutputSurface : public OutputSurface { |
void ReturnResource(unsigned id, CompositorFrameAck* ack); |
+ virtual bool HasExternalStencilTest() const OVERRIDE; |
+ |
+ void set_has_external_stencil_test(bool has_test) { |
+ has_external_stencil_test_ = has_test; |
+ } |
+ |
protected: |
FakeOutputSurface( |
scoped_refptr<ContextProvider> context_provider, |
@@ -129,6 +135,7 @@ class FakeOutputSurface : public OutputSurface { |
size_t num_sent_frames_; |
bool needs_begin_frame_; |
bool forced_draw_to_software_device_; |
+ bool has_external_stencil_test_; |
base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_; |
TransferableResourceArray resources_held_by_parent_; |
}; |