summaryrefslogtreecommitdiffstats
path: root/cc/layers/ui_resource_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/ui_resource_layer_impl.cc')
-rw-r--r--cc/layers/ui_resource_layer_impl.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/layers/ui_resource_layer_impl.cc b/cc/layers/ui_resource_layer_impl.cc
index 5986bec..582ea9e 100644
--- a/cc/layers/ui_resource_layer_impl.cc
+++ b/cc/layers/ui_resource_layer_impl.cc
@@ -110,9 +110,6 @@ void UIResourceLayerImpl::AppendQuads(
if (!resource)
return;
- // TODO(danakj): crbug.com/455931
- layer_tree_impl()->resource_provider()->ValidateResource(resource);
-
static const bool flipped = false;
static const bool nearest_neighbor = false;
static const bool premultiplied_alpha = true;
@@ -144,6 +141,7 @@ void UIResourceLayerImpl::AppendQuads(
vertex_opacity_,
flipped,
nearest_neighbor);
+ ValidateQuadResources(quad);
}
const char* UIResourceLayerImpl::LayerTypeAsString() const {