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

Unified Diff: cc/trees/proxy_common.h

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/layer_tree_impl.cc ('k') | cc/trees/proxy_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_common.h
diff --git a/cc/trees/proxy_common.h b/cc/trees/proxy_common.h
index 720ced29cbb8053e64ed381a4fc869f0ff6c6312..e35d3122e4f225bfa5696d84253f28874ecd54c3 100644
--- a/cc/trees/proxy_common.h
+++ b/cc/trees/proxy_common.h
@@ -26,12 +26,14 @@ struct CC_EXPORT BeginMainFrameAndCommitState {
BeginMainFrameAndCommitState();
~BeginMainFrameAndCommitState();
- unsigned int begin_frame_id;
+ unsigned int begin_frame_id = 0;
BeginFrameArgs begin_frame_args;
std::unique_ptr<BeginFrameCallbackList> begin_frame_callbacks;
std::unique_ptr<ScrollAndScaleSet> scroll_info;
- size_t memory_allocation_limit_bytes;
- bool evicted_ui_resources;
+ size_t memory_allocation_limit_bytes = 0;
+ bool evicted_ui_resources = false;
+ bool has_fixed_raster_scale_blurry_content = false;
+ bool has_fixed_raster_scale_potential_performance_regression = false;
void ToProtobuf(proto::BeginMainFrameAndCommitState* proto) const;
void FromProtobuf(const proto::BeginMainFrameAndCommitState& proto);
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/proxy_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698