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

Unified Diff: android_webview/browser/shared_renderer_state.cc

Issue 585093003: aw: Block child compositor if frame is not consumed by parent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove extra blank line Created 6 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
« no previous file with comments | « android_webview/browser/shared_renderer_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/shared_renderer_state.cc
diff --git a/android_webview/browser/shared_renderer_state.cc b/android_webview/browser/shared_renderer_state.cc
index fb887a1b4110e2a208a39bf560e37da9a4a326ed..2286fcfdda4f07c90551c6009dd7fc1de6db03d2 100644
--- a/android_webview/browser/shared_renderer_state.cc
+++ b/android_webview/browser/shared_renderer_state.cc
@@ -134,6 +134,11 @@ void SharedRendererState::UpdateParentDrawConstraintsOnUIThread() {
client_on_ui_->UpdateParentDrawConstraints();
}
+bool SharedRendererState::HasDrawGLInput() const {
+ base::AutoLock lock(lock_);
+ return draw_gl_input_.get();
+}
+
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
base::AutoLock lock(lock_);
DCHECK(!draw_gl_input_.get());
« no previous file with comments | « android_webview/browser/shared_renderer_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698