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

Unified Diff: cc/test/surface_hittest_test_helpers.cc

Issue 2835393003: Reject frames with invalid BeginFrameAck in CompositorFrameSinkSupport (Closed)
Patch Set: Fixed header 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
« cc/test/compositor_frame_helpers.h ('K') | « cc/test/compositor_frame_helpers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_hittest_test_helpers.cc
diff --git a/cc/test/surface_hittest_test_helpers.cc b/cc/test/surface_hittest_test_helpers.cc
index ac18aeea18d2f6f2559a20e0486d4a354f005384..ed737fd3eb6a28d197b26ce3d97d285e658f13bb 100644
--- a/cc/test/surface_hittest_test_helpers.cc
+++ b/cc/test/surface_hittest_test_helpers.cc
@@ -9,6 +9,7 @@
#include "cc/quads/shared_quad_state.h"
#include "cc/quads/solid_color_draw_quad.h"
#include "cc/quads/surface_draw_quad.h"
+#include "cc/test/compositor_frame_helpers.h"
namespace cc {
namespace test {
@@ -70,7 +71,7 @@ void CreateRenderPass(int render_pass_id,
CompositorFrame CreateCompositorFrame(const gfx::Rect& root_rect,
RenderPass** render_pass) {
- CompositorFrame root_frame;
+ CompositorFrame root_frame = test::MakeCompositorFrame();
int root_id = 1;
CreateRenderPass(root_id, root_rect, gfx::Transform(),
&root_frame.render_pass_list);
« cc/test/compositor_frame_helpers.h ('K') | « cc/test/compositor_frame_helpers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698