summaryrefslogtreecommitdiffstats
path: root/cc/test/tiled_layer_test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/tiled_layer_test_common.h')
-rw-r--r--cc/test/tiled_layer_test_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/test/tiled_layer_test_common.h b/cc/test/tiled_layer_test_common.h
index 6f27a67..bcb5909 100644
--- a/cc/test/tiled_layer_test_common.h
+++ b/cc/test/tiled_layer_test_common.h
@@ -23,10 +23,10 @@ class FakeTiledLayer;
class FakeLayerUpdater : public cc::LayerUpdater {
public:
- class Texture : public cc::LayerUpdater::Texture {
+ class Resource : public cc::LayerUpdater::Resource {
public:
- Texture(FakeLayerUpdater*, scoped_ptr<cc::PrioritizedTexture>);
- virtual ~Texture();
+ Resource(FakeLayerUpdater*, scoped_ptr<cc::PrioritizedTexture>);
+ virtual ~Resource();
virtual void update(cc::TextureUpdateQueue&, const cc::IntRect&, const cc::IntSize&, bool, cc::RenderingStats&) OVERRIDE;
@@ -37,7 +37,7 @@ public:
FakeLayerUpdater();
- virtual scoped_ptr<cc::LayerUpdater::Texture> createTexture(cc::PrioritizedTextureManager*) OVERRIDE;
+ virtual scoped_ptr<cc::LayerUpdater::Resource> createResource(cc::PrioritizedTextureManager*) OVERRIDE;
virtual void prepareToUpdate(const cc::IntRect& contentRect, const cc::IntSize&, float, float, cc::IntRect& resultingOpaqueRect, cc::RenderingStats&) OVERRIDE;
// Sets the rect to invalidate during the next call to prepareToUpdate(). After the next