| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index 72f70ed271cf736f5ca762fb0465c944a61d73b0..1033b61ef427f00a4e5325b9ed2c28d0eace3249 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -13,6 +13,7 @@
|
| #include "cc/base/math_util.h"
|
| #include "cc/debug/debug_colors.h"
|
| #include "cc/debug/layer_tree_debug_state.h"
|
| +#include "cc/debug/micro_benchmark_impl.h"
|
| #include "cc/debug/traced_value.h"
|
| #include "cc/input/layer_scroll_offset_delegate.h"
|
| #include "cc/layers/painted_scrollbar_layer_impl.h"
|
| @@ -1348,4 +1349,8 @@ scoped_ptr<base::Value> LayerImpl::AsValue() const {
|
| return state.PassAs<base::Value>();
|
| }
|
|
|
| +void LayerImpl::RunMicroBenchmark(MicroBenchmarkImpl* benchmark) {
|
| + benchmark->RunOnLayer(this);
|
| +}
|
| +
|
| } // namespace cc
|
|
|