Index: cc/quads/render_pass_unittest.cc |
diff --git a/cc/quads/render_pass_unittest.cc b/cc/quads/render_pass_unittest.cc |
index 3ddf2692adc55d23e9604b331a0359e99b4c5e6f..36e57d0a37487f8ec10549238536dbfa16de1b2a 100644 |
--- a/cc/quads/render_pass_unittest.cc |
+++ b/cc/quads/render_pass_unittest.cc |
@@ -225,8 +225,8 @@ TEST(RenderPassTest, CopyAllShouldBeIdentical) { |
gfx::Vector2dF(), // filters_scale |
FilterOperations()); |
- pass_list.push_back(pass.PassAs<RenderPass>()); |
- pass_list.push_back(contrib.PassAs<RenderPass>()); |
+ pass_list.push_back(pass.Pass()); |
+ pass_list.push_back(contrib.Pass()); |
// Make a copy with CopyAll(). |
RenderPassList copy_list; |
@@ -310,7 +310,7 @@ TEST(RenderPassTest, CopyAllWithCulledQuads) { |
gfx::Rect(3, 3, 3, 3), |
SkColor()); |
- pass_list.push_back(pass.PassAs<RenderPass>()); |
+ pass_list.push_back(pass.Pass()); |
// Make a copy with CopyAll(). |
RenderPassList copy_list; |