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

Unified Diff: Source/platform/scroll/ScrollAnimatorNone.cpp

Issue 905463007: Update ScrollAnimator's copy of the layer dimensions after layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: contentsResized -> updateAfterLayout Created 5 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
« no previous file with comments | « Source/platform/scroll/ScrollAnimatorNone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollAnimatorNone.cpp
diff --git a/Source/platform/scroll/ScrollAnimatorNone.cpp b/Source/platform/scroll/ScrollAnimatorNone.cpp
index 5791e2e8798192686956889c59e3fdafb2b89a82..037f9e858936d0a01ac9664a5aeadd53c85a69b9 100644
--- a/Source/platform/scroll/ScrollAnimatorNone.cpp
+++ b/Source/platform/scroll/ScrollAnimatorNone.cpp
@@ -466,6 +466,11 @@ bool ScrollAnimatorNone::hasRunningAnimation() const
return m_animationActive;
}
+void ScrollAnimatorNone::updateAfterLayout()
+{
+ updateVisibleLengths();
+}
+
void ScrollAnimatorNone::willEndLiveResize()
{
updateVisibleLengths();
« no previous file with comments | « Source/platform/scroll/ScrollAnimatorNone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698