| Index: cc/resources/content_layer_updater.cc
|
| diff --git a/cc/resources/content_layer_updater.cc b/cc/resources/content_layer_updater.cc
|
| index 971362fb8b8c8a9e144e16728f8429c671b0af9c..206d76ba2ff82daed1548da7215d5b17dc8d90c1 100644
|
| --- a/cc/resources/content_layer_updater.cc
|
| +++ b/cc/resources/content_layer_updater.cc
|
| @@ -5,7 +5,6 @@
|
| #include "cc/resources/content_layer_updater.h"
|
|
|
| #include "base/debug/trace_event.h"
|
| -#include "cc/debug/rendering_stats_instrumentation.h"
|
| #include "cc/resources/layer_painter.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| #include "third_party/skia/include/core/SkRect.h"
|
| @@ -16,12 +15,9 @@
|
|
|
| namespace cc {
|
|
|
| -ContentLayerUpdater::ContentLayerUpdater(
|
| - scoped_ptr<LayerPainter> painter,
|
| - RenderingStatsInstrumentation* stats_instrumentation,
|
| - int layer_id)
|
| - : rendering_stats_instrumentation_(stats_instrumentation),
|
| - layer_id_(layer_id),
|
| +ContentLayerUpdater::ContentLayerUpdater(scoped_ptr<LayerPainter> painter,
|
| + int layer_id)
|
| + : layer_id_(layer_id),
|
| layer_is_opaque_(false),
|
| layer_fills_bounds_completely_(false),
|
| painter_(painter.Pass()),
|
| @@ -30,11 +26,6 @@ ContentLayerUpdater::ContentLayerUpdater(
|
|
|
| ContentLayerUpdater::~ContentLayerUpdater() {}
|
|
|
| -void ContentLayerUpdater::set_rendering_stats_instrumentation(
|
| - RenderingStatsInstrumentation* rsi) {
|
| - rendering_stats_instrumentation_ = rsi;
|
| -}
|
| -
|
| void ContentLayerUpdater::PaintContents(SkCanvas* canvas,
|
| const gfx::Size& layer_content_size,
|
| const gfx::Rect& paint_rect,
|
|
|