Index: cc/test/test_web_graphics_context_3d.h |
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h |
index b2c030d779f4968298ef62e2e887c318fe343ac5..c16db55be94626b7946ef93046ca9f487e2d9fcd 100644 |
--- a/cc/test/test_web_graphics_context_3d.h |
+++ b/cc/test/test_web_graphics_context_3d.h |
@@ -347,6 +347,9 @@ class TestWebGraphicsContext3D { |
void set_gpu_rasterization(bool gpu_rasterization) { |
test_capabilities_.gpu_rasterization = gpu_rasterization; |
} |
+ void set_support_set_draw_rectangle(bool support) { |
+ test_capabilities_.set_draw_rectangle = support; |
+ } |
// When this context is lost, all contexts in its share group are also lost. |
void add_share_group_context(TestWebGraphicsContext3D* context3d) { |