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

Unified Diff: cc/test/fake_tile_manager.cc

Issue 270333003: cc: Do not limit number of raster tasks for upload limit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed TileManagerPerfTest Created 6 years, 7 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_tile_manager.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager.cc
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index 3b86035ad45e6a7bf774da03c888c2356e07f5af..d197c3f1a10e1599be2af0615095c9bdfda6f6ed 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -5,7 +5,6 @@
#include "cc/test/fake_tile_manager.h"
#include <deque>
-#include <limits>
#include "base/lazy_instance.h"
#include "cc/resources/rasterizer.h"
@@ -67,7 +66,6 @@ FakeTileManager::FakeTileManager(TileManagerClient* client)
NULL,
g_fake_rasterizer.Pointer(),
g_fake_rasterizer.Pointer(),
- std::numeric_limits<unsigned>::max(),
true,
NULL) {}
@@ -77,7 +75,6 @@ FakeTileManager::FakeTileManager(TileManagerClient* client,
resource_pool,
g_fake_rasterizer.Pointer(),
g_fake_rasterizer.Pointer(),
- std::numeric_limits<unsigned>::max(),
true,
NULL) {}
@@ -88,21 +85,9 @@ FakeTileManager::FakeTileManager(TileManagerClient* client,
resource_pool,
g_fake_rasterizer.Pointer(),
g_fake_rasterizer.Pointer(),
- std::numeric_limits<unsigned>::max(),
allow_on_demand_raster,
NULL) {}
-FakeTileManager::FakeTileManager(TileManagerClient* client,
- ResourcePool* resource_pool,
- size_t raster_task_limit_bytes)
- : TileManager(client,
- resource_pool,
- g_fake_rasterizer.Pointer(),
- g_fake_rasterizer.Pointer(),
- raster_task_limit_bytes,
- true,
- NULL) {}
-
FakeTileManager::~FakeTileManager() {}
void FakeTileManager::AssignMemoryToTiles(
« no previous file with comments | « cc/test/fake_tile_manager.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698