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

Unified Diff: android_webview/browser/browser_view_renderer.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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 | « WATCHLISTS ('k') | android_webview/browser/child_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.cc
diff --git a/android_webview/browser/browser_view_renderer.cc b/android_webview/browser/browser_view_renderer.cc
index c787df0392cb531a1946d8181d5dc35adcf2232c..105098de4c0529a806beb5635fffa76a22fd5d10 100644
--- a/android_webview/browser/browser_view_renderer.cc
+++ b/android_webview/browser/browser_view_renderer.cc
@@ -252,14 +252,14 @@ bool BrowserViewRenderer::OnDrawHardware() {
allow_async_draw_ = true;
std::unique_ptr<ChildFrame> child_frame = base::MakeUnique<ChildFrame>(
- frame.compositor_frame_sink_id, std::move(frame.frame), compositor_id_,
- viewport_rect_for_tile_priority.IsEmpty(), transform_for_tile_priority,
- offscreen_pre_raster_, external_draw_constraints_.is_layer);
+ std::move(future), frame.compositor_frame_sink_id, std::move(frame.frame),
+ compositor_id_, viewport_rect_for_tile_priority.IsEmpty(),
+ transform_for_tile_priority, offscreen_pre_raster_,
+ external_draw_constraints_.is_layer);
ReturnUnusedResource(
current_compositor_frame_consumer_->PassUncommittedFrameOnUI());
- current_compositor_frame_consumer_->SetFrameOnUI(std::move(child_frame),
- std::move(future));
+ current_compositor_frame_consumer_->SetFrameOnUI(std::move(child_frame));
return true;
}
« no previous file with comments | « WATCHLISTS ('k') | android_webview/browser/child_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698