Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4095)

Unified Diff: cc/test/fake_tile_manager.h

Issue 18581004: cc: Remove tile ref counting in tile manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ut compile fix Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.h ('k') | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager.h
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h
index f79ea54cda88d9839503416f7e0aec44ce179350..b22db6b49ee4353c6a4e316c1a9ce27049a4b1b2 100644
--- a/cc/test/fake_tile_manager.h
+++ b/cc/test/fake_tile_manager.h
@@ -5,6 +5,9 @@
#ifndef CC_TEST_FAKE_TILE_MANAGER_H_
#define CC_TEST_FAKE_TILE_MANAGER_H_
+#include <set>
+#include <vector>
+
#include "cc/resources/tile_manager.h"
namespace cc {
@@ -15,12 +18,15 @@ class FakeTileManager : public TileManager {
FakeTileManager(TileManagerClient* client,
ResourceProvider* resource_provider);
- virtual void ScheduleTasks() OVERRIDE {}
-
void ReassignMemoryToOOMTilesRequiredForActivation();
bool HasBeenAssignedMemory(Tile* tile);
+ void AssignMemoryToTiles();
+
+ virtual ~FakeTileManager();
- virtual ~FakeTileManager() { }
+ std::vector<Tile*> tiles_for_raster;
+ std::vector<scoped_refptr<Tile> > all_tiles;
+ std::set<Tile*> oom_tiles_required_for_activation;
};
} // namespace cc
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.h ('k') | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698