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

Unified Diff: cc/surfaces/surface_hittest_unittest.cc

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 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
Index: cc/surfaces/surface_hittest_unittest.cc
diff --git a/cc/surfaces/surface_hittest_unittest.cc b/cc/surfaces/surface_hittest_unittest.cc
index 9bb7128183706a825a7434e2e41181cbc2871867..fde62f3c2b4eb39e155653c4b8f3c0d1f044fcc1 100644
--- a/cc/surfaces/surface_hittest_unittest.cc
+++ b/cc/surfaces/surface_hittest_unittest.cc
@@ -389,7 +389,7 @@ TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
RenderPass* root_pass = nullptr;
scoped_ptr<CompositorFrame> root_frame =
CreateCompositorFrameWithRenderPassList(&render_pass_list);
- root_pass = root_frame->delegated_frame_data->render_pass_list.back();
+ root_pass = root_frame->delegated_frame_data->render_pass_list.back().get();
// Create a RenderPassDrawQuad.
gfx::Rect render_pass_quad_rect(100, 100);
@@ -401,7 +401,7 @@ TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
// Add a solid quad in the child render pass.
RenderPass* child_render_pass =
- root_frame->delegated_frame_data->render_pass_list.front();
+ root_frame->delegated_frame_data->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