| Index: third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
| index 4324de7fc7593a7f949ef9ba0ee61491778b5f96..7ee78d3969e1940fc1afd99303e4af4bd04c9e6e 100644
|
| --- a/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
| @@ -9,7 +9,6 @@
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/paint/PaintController.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -171,7 +170,7 @@ TEST_F(ImageQualityControllerTest, LowQualityFilterForResizingImage)
|
| LayoutImage* img = toLayoutImage(document().body()->firstChild()->layoutObject());
|
|
|
| RefPtr<TestImageLowQuality> testImage = adoptRef(new TestImageLowQuality);
|
| - std::unique_ptr<PaintController> paintController = PaintController::create();
|
| + OwnPtr<PaintController> paintController = PaintController::create();
|
| GraphicsContext context(*paintController);
|
|
|
| // Paint once. This will kick off a timer to see if we resize it during that timer's execution.
|
| @@ -197,7 +196,7 @@ TEST_F(ImageQualityControllerTest, MediumQualityFilterForNotAnimatedWhileAnother
|
| LayoutImage* nonAnimatingImage = toLayoutImage(document().getElementById("myNonAnimatingImage")->layoutObject());
|
|
|
| RefPtr<TestImageLowQuality> testImage = adoptRef(new TestImageLowQuality);
|
| - std::unique_ptr<PaintController> paintController = PaintController::create();
|
| + OwnPtr<PaintController> paintController = PaintController::create();
|
| GraphicsContext context(*paintController);
|
|
|
| // Paint once. This will kick off a timer to see if we resize it during that timer's execution.
|
|
|