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