| Index: cc/debug/micro_benchmark.cc
|
| diff --git a/cc/debug/micro_benchmark.cc b/cc/debug/micro_benchmark.cc
|
| index 464d0cb625dd0ba40ff0774948e98f826613ae5e..bb3f18ad24f2e3d7756ef508ff171ab1c69c5832 100644
|
| --- a/cc/debug/micro_benchmark.cc
|
| +++ b/cc/debug/micro_benchmark.cc
|
| @@ -13,10 +13,12 @@
|
|
|
| namespace cc {
|
|
|
| -MicroBenchmark::MicroBenchmark(const DoneCallback& callback)
|
| +MicroBenchmark::MicroBenchmark(const DoneCallback& callback, int id)
|
| : callback_(callback),
|
| is_done_(false),
|
| - processed_for_benchmark_impl_(false) {}
|
| + processed_for_benchmark_impl_(false),
|
| + id_(id) {
|
| +}
|
|
|
| MicroBenchmark::~MicroBenchmark() {}
|
|
|
| @@ -35,6 +37,10 @@ void MicroBenchmark::RunOnLayer(Layer* layer) {}
|
|
|
| void MicroBenchmark::RunOnLayer(PictureLayer* layer) {}
|
|
|
| +bool MicroBenchmark::SendMessage(scoped_ptr<base::Value> value) {
|
| + return false;
|
| +}
|
| +
|
| bool MicroBenchmark::ProcessedForBenchmarkImpl() const {
|
| return processed_for_benchmark_impl_;
|
| }
|
|
|