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

Unified Diff: cc/surfaces/surface_hittest_unittest.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: IsEmpty + rebase Created 4 years, 2 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
Index: cc/surfaces/surface_hittest_unittest.cc
diff --git a/cc/surfaces/surface_hittest_unittest.cc b/cc/surfaces/surface_hittest_unittest.cc
index 4b31f5f0667289f19125af2241317e7dfd7b77d5..8eca74afccdb90cb881b89a4db3397fb89ed2cd2 100644
--- a/cc/surfaces/surface_hittest_unittest.cc
+++ b/cc/surfaces/surface_hittest_unittest.cc
@@ -418,7 +418,7 @@ TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
RenderPass* root_pass = nullptr;
CompositorFrame root_frame =
CreateCompositorFrameWithRenderPassList(&render_pass_list);
- root_pass = root_frame.delegated_frame_data->render_pass_list.back().get();
+ root_pass = root_frame.render_pass_list.back().get();
// Create a RenderPassDrawQuad.
gfx::Rect render_pass_quad_rect(100, 100);
@@ -429,8 +429,7 @@ TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
child_render_pass_id);
// Add a solid quad in the child render pass.
- RenderPass* child_render_pass =
- root_frame.delegated_frame_data->render_pass_list.front().get();
+ RenderPass* child_render_pass = root_frame.render_pass_list.front().get();
gfx::Rect child_solid_quad_rect(100, 100);
CreateSolidColorDrawQuad(child_render_pass,
gfx::Transform(),

Powered by Google App Engine
This is Rietveld 408576698