Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 5ad32c5163157c2951b110a0185f294075b3fad2..3a1ee79e1c25b9e8c4b10b9eceab0f652452d98f 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -1524,9 +1524,9 @@ class MissingTextureAnimatingLayer : public DidDrawCheckLayer { |
if (!tile_missing) { |
ResourceProvider::ResourceId resource = |
resource_provider->CreateResource(gfx::Size(1, 1), |
- GL_RGBA, |
GL_CLAMP_TO_EDGE, |
- ResourceProvider::TextureUsageAny); |
+ ResourceProvider::TextureUsageAny, |
+ ResourceProvider::RGBA_8888); |
resource_provider->AllocateForTesting(resource); |
PushTileProperties(0, 0, resource, gfx::Rect(), false); |
} |
@@ -2616,9 +2616,9 @@ class BlendStateCheckLayer : public LayerImpl { |
quad_visible_rect_(5, 5, 5, 5), |
resource_id_(resource_provider->CreateResource( |
gfx::Size(1, 1), |
- GL_RGBA, |
GL_CLAMP_TO_EDGE, |
- ResourceProvider::TextureUsageAny)) { |
+ ResourceProvider::TextureUsageAny, |
+ ResourceProvider::RGBA_8888)) { |
resource_provider->AllocateForTesting(resource_id_); |
SetAnchorPoint(gfx::PointF()); |
SetBounds(gfx::Size(10, 10)); |