diff options
author | dslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 09:27:55 +0000 |
---|---|---|
committer | dslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 09:27:55 +0000 |
commit | 7127cc2e1eb9b683421623704e6b34419d72620b (patch) | |
tree | 2d1e7300ac9679399cd63cc94dc1dd00b71301fa /cc/test/fake_tile_manager.cc | |
parent | 36c78a639ad37c06dfcc8a52dc7c2ae04cb16cad (diff) | |
download | chromium_src-7127cc2e1eb9b683421623704e6b34419d72620b.zip chromium_src-7127cc2e1eb9b683421623704e6b34419d72620b.tar.gz chromium_src-7127cc2e1eb9b683421623704e6b34419d72620b.tar.bz2 |
Revert 209912 "cc: Add raster finished signals to RasterWorkerPool."
Caused failure in LayerTreeHostTestDeferredInitialize.RunMultiThread_DelegatingRenderer_MainThreadPain on Linux
http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/builds/3728
> cc: Add raster finished signals to RasterWorkerPool.
>
> This adds to important signals to the RasterWorkerPoolClient
> interface. Each signal is generated as a result of calling
> ScheduleTasks() and the signals always reflect the state of the
> last call to ScheduleTasks().
>
> BUG=253508,254135,252787
> TEST=cc_unittests --gtest_filter=TileManagerTest.*
>
> Review URL: https://chromiumcodereview.appspot.com/17351017
TBR=reveman@chromium.org
Review URL: https://codereview.chromium.org/18630002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
-rw-r--r-- | cc/test/fake_tile_manager.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc index 7afda91..79a5e31 100644 --- a/cc/test/fake_tile_manager.cc +++ b/cc/test/fake_tile_manager.cc @@ -15,8 +15,6 @@ class FakeRasterWorkerPool : public RasterWorkerPool { FakeRasterWorkerPool() : RasterWorkerPool(NULL, 1) {} virtual void ScheduleTasks(RasterTask::Queue* queue) OVERRIDE {} - virtual void OnRasterTasksFinished() OVERRIDE {} - virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE {} }; } // namespace @@ -37,15 +35,4 @@ FakeTileManager::FakeTileManager(TileManagerClient* client, 1, NULL, resource_provider->best_texture_format()) {} - -void FakeTileManager::ReassignMemoryToOOMTilesRequiredForActivation() { - ReassignGpuMemoryToOOMTilesRequiredForActivation(); -} - -bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) { - return std::find(tiles_that_need_to_be_rasterized().begin(), - tiles_that_need_to_be_rasterized().end(), - tile) != tiles_that_need_to_be_rasterized().end(); -} - } // namespace cc |