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

Unified Diff: cc/debug/rasterize_and_record_benchmark.cc

Issue 300963004: cc: Add message passing mechanism to micro benchmarking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/debug/rasterize_and_record_benchmark.cc
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index 197fb291a05f9613c69c7224c4601e1df72360a9..8c0268533e7564affb123b00b563609a25ccdea3 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -32,8 +32,9 @@ const char* kModeSuffixes[Picture::RECORDING_MODE_COUNT] = {
RasterizeAndRecordBenchmark::RasterizeAndRecordBenchmark(
scoped_ptr<base::Value> value,
- const MicroBenchmark::DoneCallback& callback)
- : MicroBenchmark(callback),
+ const MicroBenchmark::DoneCallback& callback,
+ int id)
+ : MicroBenchmark(callback, id),
record_repeat_count_(kDefaultRecordRepeatCount),
settings_(value.Pass()),
main_thread_benchmark_done_(false),

Powered by Google App Engine
This is Rietveld 408576698