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

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: rebase+fix 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
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 9925dc85bcdb0a75376064e2f38bc0b78309e2da..3c3b4dca247b317f5f19751dacaa07a13b0501d9 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
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698