Index: cc/output/ca_layer_overlay.cc |
diff --git a/cc/output/ca_layer_overlay.cc b/cc/output/ca_layer_overlay.cc |
index dabfc1ee5b27f7fab4ea77ff912ad67feb1e7f76..8c06814e44a6e41e3c01cfe3ab420f2ac909e73d 100644 |
--- a/cc/output/ca_layer_overlay.cc |
+++ b/cc/output/ca_layer_overlay.cc |
@@ -16,8 +16,6 @@ |
namespace cc { |
namespace { |
- |
-bool g_allow_rpdq_quad_conversion = false; |
// This enum is used for histogram states and should only have new values added |
// to the end before COUNT. |
@@ -84,11 +82,7 @@ |
ca_layer_overlay->rpdq = quad; |
ca_layer_overlay->contents_rect = gfx::RectF(0, 0, 1, 1); |
- // TODO(erikchen): Enable this when RenderPassDrawQuad promotion to CALayer |
- // is fully functional. https://crbug.com/581526. |
- if (g_allow_rpdq_quad_conversion) |
- return CA_LAYER_SUCCESS; |
- return CA_LAYER_FAILED_RENDER_PASS; |
+ return CA_LAYER_SUCCESS; |
} |
CALayerResult FromStreamVideoQuad(ResourceProvider* resource_provider, |
@@ -304,8 +298,4 @@ |
return true; |
} |
-void EnableRenderPassDrawQuadForTesting() { |
- g_allow_rpdq_quad_conversion = true; |
-} |
- |
} // namespace cc |