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

Unified Diff: android_webview/browser/child_frame.h

Issue 2418383002: sync compositor: Signal async frame on IO thread (Closed)
Patch Set: typo 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
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/child_frame.h
diff --git a/android_webview/browser/child_frame.h b/android_webview/browser/child_frame.h
index 2d37502787b08d3e009999f5c293b73074ca7a0f..c0f9a71911ce06e02a06d6b38ad07bb7b6bc4d8f 100644
--- a/android_webview/browser/child_frame.h
+++ b/android_webview/browser/child_frame.h
@@ -30,7 +30,8 @@ class ChildFrame {
bool is_layer);
~ChildFrame();
- const uint32_t compositor_frame_sink_id;
+ // These two fields are not const to make async path easier.
+ uint32_t compositor_frame_sink_id;
std::unique_ptr<cc::CompositorFrame> frame;
// The id of the compositor this |frame| comes from.
const CompositorID compositor_id;
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698