Index: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp |
index 0a9074f8b5e5218383a1b1ef551487d346afcb04..289334305349dc682f922f5b84d48014a132d53d 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp |
@@ -31,7 +31,6 @@ |
#include "core/svg/graphics/SVGImage.h" |
#include "platform/graphics/ImageObserver.h" |
#include "wtf/CurrentTime.h" |
-#include "wtf/PtrUtil.h" |
namespace blink { |
@@ -40,7 +39,7 @@ static const double animationFrameDelay = 0.025; |
SVGImageChromeClient::SVGImageChromeClient(SVGImage* image) |
: m_image(image) |
, m_animationTimer( |
- wrapUnique(new Timer<SVGImageChromeClient>( |
+ adoptPtr(new Timer<SVGImageChromeClient>( |
this, &SVGImageChromeClient::animationTimerFired))) |
, m_timelineState(Running) |
{ |
@@ -114,7 +113,7 @@ void SVGImageChromeClient::scheduleAnimation(Widget*) |
void SVGImageChromeClient::setTimer(Timer<SVGImageChromeClient>* timer) |
{ |
- m_animationTimer = wrapUnique(timer); |
+ m_animationTimer = adoptPtr(timer); |
} |
void SVGImageChromeClient::animationTimerFired(Timer<SVGImageChromeClient>*) |