Index: cc/test/pixel_test_output_surface.h |
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h |
index e9052fe7651469981a1a4ea86b3208712d416933..bb6fdfc39bfab5d2b47ccf916f7bfb5de7aac92d 100644 |
--- a/cc/test/pixel_test_output_surface.h |
+++ b/cc/test/pixel_test_output_surface.h |
@@ -26,10 +26,14 @@ class PixelTestOutputSurface : public OutputSurface { |
void set_viewport_offset(gfx::Vector2d viewport_offset) { |
viewport_offset_ = viewport_offset; |
} |
+ void set_device_clip(gfx::Rect device_clip) { |
+ device_clip_ = device_clip; |
+ } |
private: |
gfx::Size surface_expansion_size_; |
gfx::Vector2d viewport_offset_; |
+ gfx::Rect device_clip_; |
}; |
} // namespace cc |