Index: Source/platform/mac/ScrollAnimatorMac.mm |
diff --git a/Source/platform/mac/ScrollAnimatorMac.mm b/Source/platform/mac/ScrollAnimatorMac.mm |
index 58d050c2b506234b67913002359ffd1f75753319..1a97e6c6f55df83d482e1bef648e5804fd391603 100644 |
--- a/Source/platform/mac/ScrollAnimatorMac.mm |
+++ b/Source/platform/mac/ScrollAnimatorMac.mm |
@@ -40,7 +40,7 @@ |
#include "platform/scroll/ScrollbarThemeMacCommon.h" |
#include "platform/scroll/ScrollbarThemeMacOverlayAPI.h" |
#include "wtf/MainThread.h" |
-#include "wtf/PassRefPtr.h" |
+#include "wtf/PassOwnPtr.h" |
using namespace blink; |
@@ -652,9 +652,9 @@ private: |
namespace blink { |
-PassRefPtr<ScrollAnimator> ScrollAnimator::create(ScrollableArea* scrollableArea) |
+PassOwnPtr<ScrollAnimator> ScrollAnimator::create(ScrollableArea* scrollableArea) |
{ |
- return adoptRef(new ScrollAnimatorMac(scrollableArea)); |
+ return adoptPtr(new ScrollAnimatorMac(scrollableArea)); |
} |
ScrollAnimatorMac::ScrollAnimatorMac(ScrollableArea* scrollableArea) |