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

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

Issue 1714663002: Attempt to fix the crash in blink Scroll Animator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review feedback Created 4 years, 10 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: third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
index 50cc5f2fa8d2e53c843283a927839657cc794872..7b3c1657dd44e189cdce070950bcb4a47b015d80 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
@@ -54,6 +54,8 @@ public:
virtual void dispose() { }
+ virtual void clearScrollAnimator() { return ScrollAnimatorCompositorCoordinator::dispose(); }
+
// Computes a scroll destination for the given parameters. The returned
// ScrollResultOneDimensional will have didScroll set to false if already at
// the destination. Otherwise, starts scrolling towards the destination and

Powered by Google App Engine
This is Rietveld 408576698