Index: cc/gl_renderer.cc |
diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc |
index 5cd493c85c429ded83c80498ac688a04cc1f6930..e78a7f94c58b1fc59247ad4909f1fd5f6f52a8dc 100644 |
--- a/cc/gl_renderer.cc |
+++ b/cc/gl_renderer.cc |
@@ -484,7 +484,7 @@ scoped_ptr<ScopedResource> GLRenderer::drawBackgroundFilters( |
int filteredDeviceBackgroundTextureId = texture->getTextureHandle(); |
scoped_ptr<ScopedResource> backgroundTexture = ScopedResource::create(m_resourceProvider); |
- if (!backgroundTexture->Allocate(Renderer::ImplPool, quad->rect.size(), GL_RGBA, ResourceProvider::TextureUsageFramebuffer)) |
+ if (!backgroundTexture->Allocate(quad->rect.size(), GL_RGBA, ResourceProvider::TextureUsageFramebuffer)) |
return scoped_ptr<ScopedResource>(); |
const RenderPass* targetRenderPass = frame.currentRenderPass; |
@@ -1455,7 +1455,7 @@ bool GLRenderer::getFramebufferTexture(ScopedResource* texture, const gfx::Rect& |
{ |
DCHECK(!texture->id() || (texture->size() == deviceRect.size() && texture->format() == GL_RGB)); |
- if (!texture->id() && !texture->Allocate(Renderer::ImplPool, deviceRect.size(), GL_RGB, ResourceProvider::TextureUsageAny)) |
+ if (!texture->id() && !texture->Allocate(deviceRect.size(), GL_RGB, ResourceProvider::TextureUsageAny)) |
return false; |
ResourceProvider::ScopedWriteLockGL lock(m_resourceProvider, texture->id()); |