Index: cc/layers/ui_resource_layer_impl.cc |
diff --git a/cc/layers/ui_resource_layer_impl.cc b/cc/layers/ui_resource_layer_impl.cc |
index 5986bece7e874b36bf369394ea260ee88df2781b..582ea9eb9245d52e281596c581f2dc5184f4d5d4 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 { |