Index: cc/resources/resource_provider_unittest.cc |
diff --git a/cc/resources/resource_provider_unittest.cc b/cc/resources/resource_provider_unittest.cc |
index 5bf9fc9ed04abdc576d3b629415bf02d21aa728e..a34aee6304bf8cb5d74493085a769500c5fcf893 100644 |
--- a/cc/resources/resource_provider_unittest.cc |
+++ b/cc/resources/resource_provider_unittest.cc |
@@ -2132,7 +2132,11 @@ TEST_P(ResourceProviderTest, ManagedResource) { |
// Check that the texture gets created with the right sampler settings. |
ResourceProvider::ResourceId id = resource_provider->CreateManagedResource( |
- size, GL_CLAMP_TO_EDGE, ResourceProvider::TextureUsageAny, format); |
+ size, |
+ GL_TEXTURE_2D, |
+ GL_CLAMP_TO_EDGE, |
+ ResourceProvider::TextureUsageAny, |
+ format); |
EXPECT_CALL(*context, bindTexture(GL_TEXTURE_2D, texture_id)); |
EXPECT_CALL(*context, |
texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); |
@@ -2180,6 +2184,7 @@ TEST_P(ResourceProviderTest, TextureWrapMode) { |
// Check that the texture gets created with the right sampler settings. |
ResourceProvider::ResourceId id = |
resource_provider->CreateGLTexture(size, |
+ GL_TEXTURE_2D, |
texture_pool, |
wrap_mode, |
ResourceProvider::TextureUsageAny, |