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

Unified Diff: android_webview/browser/child_frame.cc

Issue 2347563003: Added FrameFuture class (Closed)
Patch Set: Code review Created 4 years, 3 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: android_webview/browser/child_frame.cc
diff --git a/android_webview/browser/child_frame.cc b/android_webview/browser/child_frame.cc
index 560e20c4b0c18cb350e34f7aca33c29f24520547..6b6b69739e3eee886bf7863d6d25cf87e223aead 100644
--- a/android_webview/browser/child_frame.cc
+++ b/android_webview/browser/child_frame.cc
@@ -8,15 +8,15 @@
namespace android_webview {
-ChildFrame::ChildFrame(uint32_t compositor_frame_sink_id,
- std::unique_ptr<cc::CompositorFrame> frame,
- const CompositorID& compositor_id,
- bool viewport_rect_for_tile_priority_empty,
- const gfx::Transform& transform_for_tile_priority,
- bool offscreen_pre_raster,
- bool is_layer)
- : compositor_frame_sink_id(compositor_frame_sink_id),
- frame(std::move(frame)),
+ChildFrame::ChildFrame(
+ const scoped_refptr<content::SynchronousCompositor::FrameFuture>&
+ frame_future,
+ const CompositorID& compositor_id,
+ bool viewport_rect_for_tile_priority_empty,
+ const gfx::Transform& transform_for_tile_priority,
+ bool offscreen_pre_raster,
+ bool is_layer)
+ : frame_future(frame_future),
compositor_id(compositor_id),
viewport_rect_for_tile_priority_empty(
viewport_rect_for_tile_priority_empty),

Powered by Google App Engine
This is Rietveld 408576698