summaryrefslogtreecommitdiffstats
path: root/cc/test/tiled_layer_test_common.h
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 03:25:55 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 03:25:55 +0000
commitf33db56b4a1b7b753e09028588b7d670ce5d5b26 (patch)
tree5e1b546c63f145c300808b88be3985c79013707b /cc/test/tiled_layer_test_common.h
parent12066cbcd88f48b5fcf537883b862f454f24ee0b (diff)
downloadchromium_src-f33db56b4a1b7b753e09028588b7d670ce5d5b26.zip
chromium_src-f33db56b4a1b7b753e09028588b7d670ce5d5b26.tar.gz
chromium_src-f33db56b4a1b7b753e09028588b7d670ce5d5b26.tar.bz2
cc: Rename LayerUpdater::Texture to LayerUpdater::Resource.
BUG= TEST=cc_unittests Review URL: https://chromiumcodereview.appspot.com/11236078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164007 0039d316-1c4b-4281-b951-d872f2087c98
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