Index: cc/test/test_delegating_output_surface.h |
diff --git a/cc/test/test_delegating_output_surface.h b/cc/test/test_delegating_output_surface.h |
index fc5f1f81ae464ae8b33dddeca070c834509942a9..2ec1e413e6d8767bd9a7dd83c187179705a213a0 100644 |
--- a/cc/test/test_delegating_output_surface.h |
+++ b/cc/test/test_delegating_output_surface.h |
@@ -51,6 +51,9 @@ class TestDelegatingOutputSurface : public OutputSurface, |
void SetClient(TestDelegatingOutputSurfaceClient* client) { |
test_client_ = client; |
} |
+ void SetEnlargePassTextureAmount(const gfx::Size& s) { |
+ enlarge_pass_texture_amount_ = s; |
+ } |
Display* display() const { return display_.get(); } |
@@ -93,6 +96,7 @@ class TestDelegatingOutputSurface : public OutputSurface, |
bool bound_ = false; |
TestDelegatingOutputSurfaceClient* test_client_ = nullptr; |
+ gfx::Size enlarge_pass_texture_amount_; |
std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests_; |