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

Unified Diff: content/browser/android/in_process/synchronous_compositor_impl.h

Issue 1150423003: webview: Initialize synchronous compositor after first activation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: content/browser/android/in_process/synchronous_compositor_impl.h
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.h b/content/browser/android/in_process/synchronous_compositor_impl.h
index 48bdd5b48e7fe1ee60f85bc9bf05c8f3ca698c88..80761ddbd473e96973af088ee661a8f6b3d570c4 100644
--- a/content/browser/android/in_process/synchronous_compositor_impl.h
+++ b/content/browser/android/in_process/synchronous_compositor_impl.h
@@ -112,6 +112,7 @@ class SynchronousCompositorImpl
WebContents* contents_;
const int routing_id_;
cc::InputHandler* input_handler_;
+ bool has_initialized_;
boliu 2015/05/29 23:22:31 output_surface_ready_? And leave a comment explana
bool is_active_;
bool renderer_needs_begin_frames_;

Powered by Google App Engine
This is Rietveld 408576698