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

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

Issue 2785533003: Animated scroll shouldn't consume unhandled scrolls for OOPIFs. (Closed)
Patch Set: Rebase to master@{#465268}. 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 f572bb644c23f4ebc8b8936dd00c1de9de3a2b6f..efbd3eb813a31fef715895845bb8aa0070fd0431 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;
Charlie Reis 2017/04/18 21:59:03 I'm not familiar with this class, but would this c
wjmaclean 2017/04/18 23:26:49 I think, at worst, it leaves the status quo unchan
+}
+
ui::UIResourceProvider& CompositorImpl::GetUIResourceProvider() {
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698