summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_tile_manager.h
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 03:34:13 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 03:34:13 +0000
commit362c9d06bc4d5b0a6760b5141125829d986cf7e5 (patch)
tree7b54bf5e810579a0bc2f5c1bc82d83cb25b6dbd4 /cc/test/fake_tile_manager.h
parent3d82df66cceb50b8088b818e8ca74015d372872e (diff)
downloadchromium_src-362c9d06bc4d5b0a6760b5141125829d986cf7e5.zip
chromium_src-362c9d06bc4d5b0a6760b5141125829d986cf7e5.tar.gz
chromium_src-362c9d06bc4d5b0a6760b5141125829d986cf7e5.tar.bz2
Re-land: cc: Cancel and re-prioritize worker pool tasks.
This adds a task graph interface to the worker pool and implements a simple queue instance of this interface for use by the tile manager. The task graph interface can be used describe more complicated task dependencies in the future and provides the immediate benefit of seamlessly being able to cancel and re-prioritize tasks. BUG=178974,244642 TEST=cc_unittests --gtest_filter=WorkerPoolTest.Dependencies Review URL: https://chromiumcodereview.appspot.com/14689004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.h')
-rw-r--r--cc/test/fake_tile_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h
index 7bd4d03..fb62ce3 100644
--- a/cc/test/fake_tile_manager.h
+++ b/cc/test/fake_tile_manager.h
@@ -17,7 +17,7 @@ class FakeTileManager : public TileManager {
protected:
// Do nothing
- virtual void DispatchMoreTasks() OVERRIDE { }
+ virtual void ScheduleTasks() OVERRIDE { }
};
} // namespace cc