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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 2800633003: Test that main thread frames cease to fire during composited animation
Patch Set: removestacktrace Created 3 years, 8 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/ipc/compositor_frame_metadata_struct_traits.cc ('k') | cc/trees/layer_tree_host_impl.h » ('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 98bed560715476f4dc71382cdc383574ba08b86b..1636becb11684e4fae1fab0b61448df4a344d62e 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -97,6 +97,8 @@ class CC_EXPORT CompositorFrameMetadata {
// the embedder wants to do something after a particular frame is processed.
uint32_t frame_token = 0;
+ bool is_main_thread_frame = true;
+
private:
CompositorFrameMetadata(const CompositorFrameMetadata& other);
CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698