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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use web_contents_ Created 4 years, 6 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/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 2ecce76fdd6279875caa89196de744e3faf8babe..fb5f0cc1a935eb7aabfb6316cbcf0f741812970a 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -1137,11 +1137,6 @@ void RenderWidgetHostViewAndroid::RetainFrame(
new LastFrameInfo(output_surface_id, std::move(frame)));
}
-SynchronousCompositorHost*
-RenderWidgetHostViewAndroid::GetSynchronousCompositor() {
- return sync_compositor_.get();
-}
-
void RenderWidgetHostViewAndroid::SynchronousFrameMetadata(
const cc::CompositorFrameMetadata& frame_metadata) {
if (!content_view_core_)
@@ -1782,8 +1777,6 @@ void RenderWidgetHostViewAndroid::SetContentViewCore(
sync_compositor_ = SynchronousCompositorHost::Create(
this, content_view_core_->GetWebContents());
}
- if (sync_compositor_)
- sync_compositor_->DidBecomeCurrent();
}
void RenderWidgetHostViewAndroid::RunAckCallbacks(

Powered by Google App Engine
This is Rietveld 408576698