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

Unified Diff: cc/quads/render_pass_unittest.cc

Issue 609663003: cc: Remove use of PassAs() and constructor-casting with scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc-passas: PassAs-presubmit-warning Created 6 years, 3 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/quads/draw_polygon.cc ('k') | cc/resources/bitmap_content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/quads/draw_polygon.cc ('k') | cc/resources/bitmap_content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698