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 c3012335d0a597f61a00d81fa9f9817be8057ca8..bb3b60321557e3665930fb9ae1b4791e9b6850ca 100644 |
--- a/cc/test/test_web_graphics_context_3d.h |
+++ b/cc/test/test_web_graphics_context_3d.h |
@@ -342,6 +342,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; |
} |