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

Unified Diff: Source/platform/scroll/ScrollAnimator.h

Issue 1215973002: Oilpan: improve ScrollableArea handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove too conservative null check 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
Index: Source/platform/scroll/ScrollAnimator.h
diff --git a/Source/platform/scroll/ScrollAnimator.h b/Source/platform/scroll/ScrollAnimator.h
index be6d8bd21caf9498715c1987b984a76ab3e71a39..ca2e2addda48516b9861a1719fe7695afc1f327f 100644
--- a/Source/platform/scroll/ScrollAnimator.h
+++ b/Source/platform/scroll/ScrollAnimator.h
@@ -36,7 +36,6 @@
#include "platform/geometry/FloatSize.h"
#include "platform/scroll/ScrollTypes.h"
#include "wtf/Forward.h"
-#include "wtf/RefCounted.h"
namespace blink {
@@ -44,9 +43,9 @@ class FloatPoint;
class ScrollableArea;
class Scrollbar;
-class PLATFORM_EXPORT ScrollAnimator : public RefCounted<ScrollAnimator> {
+class PLATFORM_EXPORT ScrollAnimator {
public:
- static PassRefPtr<ScrollAnimator> create(ScrollableArea*);
+ static PassOwnPtr<ScrollAnimator> create(ScrollableArea*);
virtual ~ScrollAnimator();

Powered by Google App Engine
This is Rietveld 408576698