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

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

Issue 1209293004: WIP - improve ScrollableArea handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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
« no previous file with comments | « Source/platform/scroll/ScrollableArea.h ('k') | Source/platform/scroll/ScrollableAreaTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollableArea.cpp
diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp
index c2be447d7866ccdfa7958e8267401010f25c37ca..f4e59a6d9842ba96675f15b0d57cb73c710997a0 100644
--- a/Source/platform/scroll/ScrollableArea.cpp
+++ b/Source/platform/scroll/ScrollableArea.cpp
@@ -52,6 +52,9 @@ namespace blink {
struct SameSizeAsScrollableArea {
virtual ~SameSizeAsScrollableArea();
IntRect scrollbarDamage[2];
+#if ENABLE(ASSERT) && ENABLE(OILPAN)
+ VerifyEagerFinalization verifyEager;
+#endif
void* pointer;
unsigned bitfields : 16;
IntPoint origin;
@@ -86,6 +89,11 @@ ScrollableArea::~ScrollableArea()
{
}
+void ScrollableArea::clearScrollAnimators()
+{
+ m_animators.clear();
+}
+
ScrollAnimator* ScrollableArea::scrollAnimator() const
{
if (!m_animators)
« no previous file with comments | « Source/platform/scroll/ScrollableArea.h ('k') | Source/platform/scroll/ScrollableAreaTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698