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

Unified Diff: cc/trees/proxy_common.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_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_common.cc
diff --git a/cc/trees/proxy_common.cc b/cc/trees/proxy_common.cc
index c96af7b4acdbd739a29e8492061491f3b52ff6f2..3e614aadd416ce6e486efa7a2067d06f3502aa9f 100644
--- a/cc/trees/proxy_common.cc
+++ b/cc/trees/proxy_common.cc
@@ -9,8 +9,7 @@
namespace cc {
-BeginMainFrameAndCommitState::BeginMainFrameAndCommitState()
- : memory_allocation_limit_bytes(0), evicted_ui_resources(false) {}
+BeginMainFrameAndCommitState::BeginMainFrameAndCommitState() {}
BeginMainFrameAndCommitState::~BeginMainFrameAndCommitState() {}
@@ -21,6 +20,10 @@ void BeginMainFrameAndCommitState::ToProtobuf(
scroll_info->ToProtobuf(proto->mutable_scroll_info());
proto->set_memory_allocation_limit_bytes(memory_allocation_limit_bytes);
proto->set_evicted_ui_resources(evicted_ui_resources);
+ proto->set_has_fixed_raster_scale_blurry_content(
+ has_fixed_raster_scale_blurry_content);
+ proto->set_has_fixed_raster_scale_potential_performance_regression(
+ has_fixed_raster_scale_potential_performance_regression);
}
void BeginMainFrameAndCommitState::FromProtobuf(
@@ -31,6 +34,10 @@ void BeginMainFrameAndCommitState::FromProtobuf(
scroll_info->FromProtobuf(proto.scroll_info());
memory_allocation_limit_bytes = proto.memory_allocation_limit_bytes();
evicted_ui_resources = proto.evicted_ui_resources();
+ has_fixed_raster_scale_blurry_content =
+ proto.has_fixed_raster_scale_blurry_content();
+ has_fixed_raster_scale_potential_performance_regression =
+ proto.has_fixed_raster_scale_potential_performance_regression();
}
} // namespace cc
« no previous file with comments | « cc/trees/proxy_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698