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

Unified Diff: ui/android/delegated_frame_host_android.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: Created 4 years, 2 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
Index: ui/android/delegated_frame_host_android.cc
diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc
index 7b26124a754f11d4e1c73a84141e04bc62f8b2b8..2412a064cafee54b1f30112c9ce1ac3679e5ccf4 100644
--- a/ui/android/delegated_frame_host_android.cc
+++ b/ui/android/delegated_frame_host_android.cc
@@ -111,8 +111,7 @@ void DelegatedFrameHostAndroid::SubmitCompositorFrame(
new cc::SurfaceFactory(frame_sink_id_, surface_manager_, this));
}
- cc::RenderPass* root_pass =
- frame.delegated_frame_data->render_pass_list.back().get();
+ cc::RenderPass* root_pass = frame.render_pass_list.back().get();
gfx::Size surface_size = root_pass->output_rect.size();
if (!current_frame_ || surface_size != current_frame_->surface_size ||

Powered by Google App Engine
This is Rietveld 408576698