summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp')
-rw-r--r--Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp b/Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp
index 26ffd9079..7778549b6 100644
--- a/Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp
+++ b/Source/WebKit/chromium/tests/CCTiledLayerTestCommon.cpp
@@ -40,10 +40,9 @@ FakeLayerTextureUpdater::Texture::~Texture()
{
}
-void FakeLayerTextureUpdater::Texture::updateRect(CCGraphicsContext*, TextureAllocator* allocator, const IntRect&, const IntRect&)
+void FakeLayerTextureUpdater::Texture::updateRect(CCResourceProvider* resourceProvider, const IntRect&, const IntRect&)
{
- if (allocator)
- texture()->acquireBackingTexture(allocator);
+ texture()->acquireBackingTexture(resourceProvider);
m_layer->updateRect();
}