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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 2316643003: Reland Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | content/browser/renderer_host/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index 84ede387ae6a375b212ea5fc6240c8c6e296a740..fb41651635b39fb291b28d896a801185f659a919 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -56,13 +56,13 @@ class CC_EXPORT CompositorFrameMetadata {
// Used to position the Android location top bar and page content, whose
// precise position is computed by the renderer compositor.
- float top_controls_height;
- float top_controls_shown_ratio;
+ float top_controls_height = 0.f;
+ float top_controls_shown_ratio = 0.f;
// Used to position Android bottom bar, whose position is computed by the
// renderer compositor.
- float bottom_controls_height;
- float bottom_controls_shown_ratio;
+ float bottom_controls_height = 0.f;
+ float bottom_controls_shown_ratio = 0.f;
// This color is usually obtained from the background color of the <body>
// element. It can be used for filling in gutter areas around the frame when
« no previous file with comments | « no previous file | content/browser/renderer_host/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698