Index: third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
index 56a93cbb476ac97a51adc75bb8a51ea6145c1f89..429c944a4d78b12385518496691ca5351f6ad2a6 100644 |
--- a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
+++ b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
@@ -35,7 +35,6 @@ |
#include "core/frame/Settings.h" |
#include "core/page/ChromeClient.h" |
#include "core/page/Page.h" |
-#include "wtf/PtrUtil.h" |
namespace blink { |
@@ -93,14 +92,14 @@ ImageQualityController::~ImageQualityController() |
} |
ImageQualityController::ImageQualityController() |
- : m_timer(wrapUnique(new Timer<ImageQualityController>(this, &ImageQualityController::highQualityRepaintTimerFired))) |
+ : m_timer(adoptPtr(new Timer<ImageQualityController>(this, &ImageQualityController::highQualityRepaintTimerFired))) |
, m_frameTimeWhenTimerStarted(0.0) |
{ |
} |
void ImageQualityController::setTimer(Timer<ImageQualityController>* newTimer) |
{ |
- m_timer = wrapUnique(newTimer); |
+ m_timer = adoptPtr(newTimer); |
} |
void ImageQualityController::removeLayer(const LayoutObject& object, LayerSizeMap* innerMap, const void* layer) |