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 c16db55be94626b7946ef93046ca9f487e2d9fcd..233c067e65648b1b31c2ff1f0b5c177b57dc53d5 100644 |
--- a/cc/test/test_web_graphics_context_3d.h |
+++ b/cc/test/test_web_graphics_context_3d.h |
@@ -347,8 +347,8 @@ 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; |
+ void set_enable_dc_layers(bool support) { |
+ test_capabilities_.dc_layers = support; |
} |
// When this context is lost, all contexts in its share group are also lost. |