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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 2559273003: Blink Compositor Animation: Introduce CompositorAnimationHost correctly. (Closed)
Patch Set: Add nullcheck for m_layerTreeView in WebViewImpl Created 4 years 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: third_party/WebKit/Source/platform/scroll/ScrollableArea.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
index 338a27b8ed56dd3370f159d25c83c9306cce0811..bc163d8f3f6af1b050c4cb33b5f7999adf39d287 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -41,6 +41,8 @@
namespace blink {
+class CompositorAnimationHost;
+class CompositorAnimationTimeline;
class GraphicsLayer;
class HostWindow;
class LayoutBox;
@@ -150,6 +152,9 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin {
return m_programmaticScrollAnimator;
}
+ virtual CompositorAnimationHost* compositorAnimationHost() const {
+ return nullptr;
+ }
virtual CompositorAnimationTimeline* compositorAnimationTimeline() const {
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698