| Index: third_party/WebKit/Source/core/style/ShadowList.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ShadowList.cpp b/third_party/WebKit/Source/core/style/ShadowList.cpp
|
| index 281d41528e3571db00cde93b88a84b66799af1af..126b90992fc7da577db500d731c5d1269b977114 100644
|
| --- a/third_party/WebKit/Source/core/style/ShadowList.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ShadowList.cpp
|
| @@ -31,7 +31,7 @@
|
| #include "core/style/ShadowList.h"
|
|
|
| #include "platform/geometry/FloatRect.h"
|
| -#include "wtf/OwnPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -77,9 +77,9 @@ PassRefPtr<ShadowList> ShadowList::blend(const ShadowList* from, const ShadowLis
|
| return ShadowList::adopt(shadows);
|
| }
|
|
|
| -PassOwnPtr<DrawLooperBuilder> ShadowList::createDrawLooper(DrawLooperBuilder::ShadowAlphaMode alphaMode, const Color& currentColor, bool isHorizontal) const
|
| +std::unique_ptr<DrawLooperBuilder> ShadowList::createDrawLooper(DrawLooperBuilder::ShadowAlphaMode alphaMode, const Color& currentColor, bool isHorizontal) const
|
| {
|
| - OwnPtr<DrawLooperBuilder> drawLooperBuilder = DrawLooperBuilder::create();
|
| + std::unique_ptr<DrawLooperBuilder> drawLooperBuilder = DrawLooperBuilder::create();
|
| for (size_t i = shadows().size(); i--; ) {
|
| const ShadowData& shadow = shadows()[i];
|
| float shadowX = isHorizontal ? shadow.x() : shadow.y();
|
|
|