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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 38d23a2c60d01d9fcc7bf6e0b67c269aab35e481..be8493fdad0a029ecd99cbeb12516d9e10b3e8ea 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -218,6 +218,11 @@ void SingleThreadProxy::DoCommit() {
devtools_instrumentation::ScopedCommitTrace commit_task(
layer_tree_host_->id());
+ layer_tree_host_->ReportFixedRasterScaleUseCounters(
+ layer_tree_host_impl_->has_fixed_raster_scale_blurry_content(),
+ layer_tree_host_impl_
+ ->HasFixedRasterScalePotentialPerformanceRegression());
+
// Commit immediately.
{
// TODO(robliao): Remove ScopedTracker below once https://crbug.com/461509

Powered by Google App Engine
This is Rietveld 408576698