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

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

Issue 2785533003: Animated scroll shouldn't consume unhandled scrolls for OOPIFs. (Closed)
Patch Set: Fix Android compile. 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 bfc265f4d4af18e2450629f11828e91d382043fa..60f85b17963e7906b677fd09ca10e20d386b6511 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -444,6 +444,10 @@ CompositorImpl::~CompositorImpl() {
GetSurfaceManager()->InvalidateFrameSinkId(frame_sink_id_);
}
+bool CompositorImpl::IsForSubframe() {
+ return false;
+}
+
ui::UIResourceProvider& CompositorImpl::GetUIResourceProvider() {
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698