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

Unified Diff: cc/test/compositor_frame_helpers.h

Issue 2855723002: Don't submit frames with no render passes in cc tests (Closed)
Patch Set: c Created 3 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/surfaces/surface_manager.cc ('k') | cc/test/compositor_frame_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/compositor_frame_helpers.h
diff --git a/cc/test/compositor_frame_helpers.h b/cc/test/compositor_frame_helpers.h
index 1c23b69463025c778e310731aa86d0652b400af1..c60de21ebdfc5f12f3517a87e2b7ce56ea60e5ec 100644
--- a/cc/test/compositor_frame_helpers.h
+++ b/cc/test/compositor_frame_helpers.h
@@ -11,8 +11,13 @@ class CompositorFrame;
namespace test {
+// Creates a valid CompositorFrame.
CompositorFrame MakeCompositorFrame();
+// Creates a CompositorFrame that will be valid once its render_pass_list is
+// initialized.
+CompositorFrame MakeEmptyCompositorFrame();
+
} // namespace test
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_manager.cc ('k') | cc/test/compositor_frame_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698