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

Unified Diff: cc/layers/content_layer.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/input/scroll_elasticity_helper.cc ('k') | cc/layers/draw_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer.cc
diff --git a/cc/layers/content_layer.cc b/cc/layers/content_layer.cc
index d3e9a2873a8f77e482e9ab645d5d326ad175e1e5..88031e49631cfd77c00c157a9f9931bf2e5f2d65 100644
--- a/cc/layers/content_layer.cc
+++ b/cc/layers/content_layer.cc
@@ -57,13 +57,6 @@ void ContentLayer::SetLayerTreeHost(LayerTreeHost* host) {
if (!updater_.get())
return;
-
- if (host) {
- updater_->set_rendering_stats_instrumentation(
- host->rendering_stats_instrumentation());
- } else {
- updater_->set_rendering_stats_instrumentation(nullptr);
- }
}
void ContentLayer::SetTexturePriorities(
@@ -108,7 +101,6 @@ void ContentLayer::CreateUpdaterIfNeeded() {
} else {
updater_ = BitmapContentLayerUpdater::Create(
painter.Pass(),
- rendering_stats_instrumentation(),
id());
}
updater_->SetOpaque(contents_opaque());
« no previous file with comments | « cc/input/scroll_elasticity_helper.cc ('k') | cc/layers/draw_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698