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

Unified Diff: cc/resources/tile_manager_perftest.cc

Issue 667793004: Support single-threaded impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use numeric limits for raster task limit Created 6 years, 2 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/resources/tile_manager_perftest.cc
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
index ba130bfb6f409eff99c443efe1828c202a57b184..1533c795d6f2a780d8837765f81f306234e9124d 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -53,6 +53,9 @@ class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient {
completed_tasks_.push_back(task);
}
}
+ void WaitForTasksToFinishRunning() override {
+ // Everything completes instantly; nothing to do.
+ }
void CheckForCompletedTasks() override {
for (RasterTask::Vector::iterator it = completed_tasks_.begin();
it != completed_tasks_.end();

Powered by Google App Engine
This is Rietveld 408576698