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

Unified Diff: blimp/client/core/compositor/blimp_compositor.cc

Issue 2503203002: Revert "Getting rid of DelegatedFrameData" (Closed)
Patch Set: Created 4 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
« no previous file with comments | « android_webview/browser/test/rendering_test.cc ('k') | cc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/compositor/blimp_compositor.cc
diff --git a/blimp/client/core/compositor/blimp_compositor.cc b/blimp/client/core/compositor/blimp_compositor.cc
index 1d01a04d24092385187bf958b6e528c1709a9702..e15788460904097d823103dc0ffee2ca7ba8eefa 100644
--- a/blimp/client/core/compositor/blimp_compositor.cc
+++ b/blimp/client/core/compositor/blimp_compositor.cc
@@ -317,7 +317,8 @@ void BlimpCompositor::SubmitCompositorFrame(cc::CompositorFrame frame) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(bound_to_proxy_);
- cc::RenderPass* root_pass = frame.render_pass_list.back().get();
+ cc::RenderPass* root_pass =
+ frame.delegated_frame_data->render_pass_list.back().get();
gfx::Size surface_size = root_pass->output_rect.size();
if (!local_frame_id_.is_valid() || current_surface_size_ != surface_size) {
« no previous file with comments | « android_webview/browser/test/rendering_test.cc ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698