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

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: removed small helper functions 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
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..dca2b376da378caeba5f5a258acaf405e4da5471 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 {
@@ -19,8 +22,13 @@ class FakeTileManager : public TileManager {
void ReassignMemoryToOOMTilesRequiredForActivation();
bool HasBeenAssignedMemory(Tile* tile);
+ void AssignMemoryToTiles();
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

Powered by Google App Engine
This is Rietveld 408576698