Index: cc/scoped_resource_unittest.cc |
diff --git a/cc/scoped_resource_unittest.cc b/cc/scoped_resource_unittest.cc |
index 6a725649015d930676e4a78dee3d2f0d91e4f3b5..902052ccaf88cbb4ccbb2d3db69dba1a78065485 100644 |
--- a/cc/scoped_resource_unittest.cc |
+++ b/cc/scoped_resource_unittest.cc |
@@ -34,7 +34,7 @@ TEST(ScopedResourceTest, CreateScopedResource) |
scoped_ptr<OutputSurface> context(createFakeOutputSurface()); |
scoped_ptr<ResourceProvider> resourceProvider(ResourceProvider::create(context.get())); |
scoped_ptr<ScopedResource> texture = ScopedResource::create(resourceProvider.get()); |
- texture->Allocate(Renderer::ImplPool, gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
+ texture->Allocate(gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
// The texture has an allocated byte-size now. |
size_t expectedBytes = 30 * 30 * 4; |
@@ -54,7 +54,7 @@ TEST(ScopedResourceTest, ScopedResourceIsDeleted) |
scoped_ptr<ScopedResource> texture = ScopedResource::create(resourceProvider.get()); |
EXPECT_EQ(0u, resourceProvider->numResources()); |
- texture->Allocate(Renderer::ImplPool, gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
+ texture->Allocate(gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
EXPECT_LT(0u, texture->id()); |
EXPECT_EQ(1u, resourceProvider->numResources()); |
} |
@@ -64,7 +64,7 @@ TEST(ScopedResourceTest, ScopedResourceIsDeleted) |
{ |
scoped_ptr<ScopedResource> texture = ScopedResource::create(resourceProvider.get()); |
EXPECT_EQ(0u, resourceProvider->numResources()); |
- texture->Allocate(Renderer::ImplPool, gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
+ texture->Allocate(gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
EXPECT_LT(0u, texture->id()); |
EXPECT_EQ(1u, resourceProvider->numResources()); |
texture->Free(); |
@@ -81,7 +81,7 @@ TEST(ScopedResourceTest, LeakScopedResource) |
scoped_ptr<ScopedResource> texture = ScopedResource::create(resourceProvider.get()); |
EXPECT_EQ(0u, resourceProvider->numResources()); |
- texture->Allocate(Renderer::ImplPool, gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
+ texture->Allocate(gfx::Size(30, 30), GL_RGBA, ResourceProvider::TextureUsageAny); |
EXPECT_LT(0u, texture->id()); |
EXPECT_EQ(1u, resourceProvider->numResources()); |