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

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

Issue 2085873004: Send scroll animation takeOver message in the same frame that it's created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DCHECK Created 4 years, 6 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/ScrollAnimatorCompositorCoordinator.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h
index d0cecc2aff2c1d488e4a59013cf1b73154506f8b..b5b4cc939b085b421dc17c5e103565303568b89a 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h
@@ -156,6 +156,9 @@ protected:
private:
bool hasImplOnlyAnimationUpdate() const;
+ void updateImplOnlyCompositorAnimations();
+ // Accesses compositing state and should only be called when in or after
+ // DocumentLifecycle::LifecycleState::CompositingClean.
void takeOverImplOnlyScrollOffsetAnimation();
};

Powered by Google App Engine
This is Rietveld 408576698