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

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

Issue 2833423003: Animated scroll shouldn't require main-frame for OOPIFs. (Closed)
Patch Set: Created 3 years, 8 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/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index b4d13ee0391c6928c3187b376a7f9af74c67bd3e..ebc98e6647b2e89cb5c50b629340c51c1ec7eed7 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -451,6 +451,10 @@ CompositorImpl::~CompositorImpl() {
GetSurfaceManager()->InvalidateFrameSinkId(frame_sink_id_);
}
+bool CompositorImpl::IsForSubframe() {
+ return false;
+}
+
ui::UIResourceProvider& CompositorImpl::GetUIResourceProvider() {
return *this;
}
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.h ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698