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

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

Issue 1477113003: [Oilpan] Move ScrollAnimators onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move ProgrammaticScrollAnimator Created 5 years, 1 month 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.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.cpp
index 8971694d94a8b16e5e768895742082cfc63e98ac..fbace765b5877d56d0c3b05b5c0c4f5a1f33075d 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.cpp
@@ -95,4 +95,11 @@ float ScrollAnimatorBase::clampScrollPosition(ScrollbarOrientation orientation,
return std::max(std::min(pos, maxScrollPos), minScrollPos);
}
+DEFINE_TRACE(ScrollAnimatorBase)
+{
+#if ENABLE(OILPAN)
haraken 2015/11/27 05:10:14 You won't need #if ENABLE(OILPAN).
peria 2015/11/27 05:23:48 Done.
+ visitor->trace(m_scrollableArea);
+#endif
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698