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 bf6cd1b5007585cb959cd332e968b234f967628a..228d2b767fccbe26a6a07070e27df8b6d9abc8e1 100644 |
--- a/cc/test/test_web_graphics_context_3d.h |
+++ b/cc/test/test_web_graphics_context_3d.h |
@@ -341,6 +341,9 @@ class TestWebGraphicsContext3D { |
void set_support_texture_half_float_linear(bool support) { |
test_capabilities_.texture_half_float_linear = support; |
} |
+ void set_support_texture_rg(bool support) { |
+ test_capabilities_.texture_rg = support; |
+ } |
void set_msaa_is_slow(bool msaa_is_slow) { |
test_capabilities_.msaa_is_slow = msaa_is_slow; |
} |