| Index: cc/debug/micro_benchmark_controller.cc
|
| diff --git a/cc/debug/micro_benchmark_controller.cc b/cc/debug/micro_benchmark_controller.cc
|
| index 7d9025c1c42103dc40f9499fc2b467ca8b827460..bc9556dc71f65cc6bd7377abd44752e559885c3a 100644
|
| --- a/cc/debug/micro_benchmark_controller.cc
|
| +++ b/cc/debug/micro_benchmark_controller.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/callback.h"
|
| #include "base/message_loop/message_loop_proxy.h"
|
| #include "base/values.h"
|
| +#include "cc/debug/invalidation_benchmark.h"
|
| #include "cc/debug/picture_record_benchmark.h"
|
| #include "cc/debug/rasterize_and_record_benchmark.h"
|
| #include "cc/debug/unittest_only_benchmark.h"
|
| @@ -23,7 +24,10 @@ scoped_ptr<MicroBenchmark> CreateBenchmark(
|
| const std::string& name,
|
| scoped_ptr<base::Value> value,
|
| const MicroBenchmark::DoneCallback& callback) {
|
| - if (name == "picture_record_benchmark") {
|
| + if (name == "invalidation_benchmark") {
|
| + return scoped_ptr<MicroBenchmark>(
|
| + new InvalidationBenchmark(value.Pass(), callback));
|
| + } else if (name == "picture_record_benchmark") {
|
| return scoped_ptr<MicroBenchmark>(
|
| new PictureRecordBenchmark(value.Pass(), callback));
|
| } else if (name == "rasterize_and_record_benchmark") {
|
|
|