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

Unified Diff: cc/render_surface_unittest.cc

Issue 11413106: cc: Make RenderPass into a struct-like class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 1 month 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/render_surface_impl.cc ('k') | cc/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/render_surface_unittest.cc
diff --git a/cc/render_surface_unittest.cc b/cc/render_surface_unittest.cc
index bc5b78f175780f48171031ea5aa6c38e2822f310..837a3dbd91fe8bd9e3f7088ea789cc1081635ccc 100644
--- a/cc/render_surface_unittest.cc
+++ b/cc/render_surface_unittest.cc
@@ -145,9 +145,9 @@ TEST(RenderSurfaceTest, sanityCheckSurfaceCreatesCorrectRenderPass)
ASSERT_EQ(1u, passSink.renderPasses().size());
RenderPass* pass = passSink.renderPasses()[0];
- EXPECT_EQ(RenderPass::Id(2, 0), pass->id());
- EXPECT_RECT_EQ(contentRect, pass->outputRect());
- EXPECT_EQ(origin, pass->transformToRootTarget());
+ EXPECT_EQ(RenderPass::Id(2, 0), pass->id);
+ EXPECT_RECT_EQ(contentRect, pass->output_rect);
+ EXPECT_EQ(origin, pass->transform_to_root_target);
}
} // namespace
« no previous file with comments | « cc/render_surface_impl.cc ('k') | cc/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698