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

Unified Diff: cc/resources/content_layer_updater.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/resources/content_layer_updater.h ('k') | cc/resources/gpu_raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « cc/resources/content_layer_updater.h ('k') | cc/resources/gpu_raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698