summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_tile_manager.h
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 07:39:51 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 07:39:51 +0000
commit40a32f78889dfe53f98b47fbaa9cc6ea41258419 (patch)
treece7120038be0306edb99edcb4cfbc18b2fd32f95 /cc/test/fake_tile_manager.h
parent464d74a4031160fef333ef75a6b7ab7e47db4655 (diff)
downloadchromium_src-40a32f78889dfe53f98b47fbaa9cc6ea41258419.zip
chromium_src-40a32f78889dfe53f98b47fbaa9cc6ea41258419.tar.gz
chromium_src-40a32f78889dfe53f98b47fbaa9cc6ea41258419.tar.bz2
cc: Remove memory state from tile management
After the upload is moved into its own class, the tile can either have a resource or not. If it doesn't have a resource, but has a raster task, the memory is unreleasable. That makes all the memory states are implicit. Review URL: https://chromiumcodereview.appspot.com/15715031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.h')
-rw-r--r--cc/test/fake_tile_manager.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h
index fb62ce3..a061ee0 100644
--- a/cc/test/fake_tile_manager.h
+++ b/cc/test/fake_tile_manager.h
@@ -12,12 +12,10 @@ namespace cc {
class FakeTileManager : public TileManager {
public:
explicit FakeTileManager(TileManagerClient* client);
+ FakeTileManager(TileManagerClient* client,
+ ResourceProvider* resource_provider);
virtual ~FakeTileManager() { }
-
- protected:
- // Do nothing
- virtual void ScheduleTasks() OVERRIDE { }
};
} // namespace cc