Index: cc/output/ca_layer_overlay.cc |
diff --git a/cc/output/ca_layer_overlay.cc b/cc/output/ca_layer_overlay.cc |
index 1336e63cd6847a91689fb0bc0bd6b6515f921a42..7ac25c76260fb077fd6de1db3663e45a9bd8cb28 100644 |
--- a/cc/output/ca_layer_overlay.cc |
+++ b/cc/output/ca_layer_overlay.cc |
@@ -70,8 +70,6 @@ CALayerResult FromRenderPassQuad(ResourceProvider* resource_provider, |
CALayerOverlay* ca_layer_overlay) { |
ccameron
2016/08/08 21:48:09
Cause we're messing with the 3D transforms, we can
|
if (quad->background_filters.size() != 0) |
return CA_LAYER_FAILED_RENDER_PASS_BACKGROUND_FILTERS; |
- if (quad->mask_resource_id() != 0) |
- return CA_LAYER_FAILED_RENDER_PASS_MASK; |
for (const FilterOperation& operation : quad->filters.operations()) { |
bool success = FilterOperationSupported(operation); |
@@ -79,15 +77,7 @@ CALayerResult FromRenderPassQuad(ResourceProvider* resource_provider, |
return CA_LAYER_FAILED_RENDER_PASS_FILTER_OPERATION; |
} |
- if (quad->filters_scale != gfx::Vector2dF(1, 1)) { |
- for (const FilterOperation& operation : quad->filters.operations()) { |
- if (operation.type() == FilterOperation::BLUR || |
- operation.type() == FilterOperation::DROP_SHADOW) { |
- return CA_LAYER_FAILED_RENDER_PASS_FILTER_SCALE; |
- } |
- } |
- } |
- |
+ 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 |