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

Unified Diff: content/renderer/child_frame_compositing_helper.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: content/renderer/child_frame_compositing_helper.cc
diff --git a/content/renderer/child_frame_compositing_helper.cc b/content/renderer/child_frame_compositing_helper.cc
index 4f23d6cfeb9dfacd7ec2e5ffbeabd19facf71bb7..2abadbc78d1491c0118b795fc918848e96da9692 100644
--- a/content/renderer/child_frame_compositing_helper.cc
+++ b/content/renderer/child_frame_compositing_helper.cc
@@ -215,7 +215,7 @@ void ChildFrameCompositingHelper::OnCompositorFrameSwapped(
return;
DCHECK(!frame_data->render_pass_list.empty());
- cc::RenderPass* root_pass = frame_data->render_pass_list.back();
+ cc::RenderPass* root_pass = frame_data->render_pass_list.back().get();
gfx::Size frame_size = root_pass->output_rect.size();
if (last_route_id_ != route_id ||

Powered by Google App Engine
This is Rietveld 408576698