| Index: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| index 7b3e2240a5b31bf57d808edb10533d622336c250..018d193265b35d7b0e863e15efed436f0a048856 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| @@ -39,7 +39,9 @@
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkXfermode.h"
|
| #include "third_party/skia/include/effects/SkBlurMaskFilter.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include "wtf/RefPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -47,9 +49,9 @@ DrawLooperBuilder::DrawLooperBuilder() { }
|
|
|
| DrawLooperBuilder::~DrawLooperBuilder() { }
|
|
|
| -PassOwnPtr<DrawLooperBuilder> DrawLooperBuilder::create()
|
| +std::unique_ptr<DrawLooperBuilder> DrawLooperBuilder::create()
|
| {
|
| - return adoptPtr(new DrawLooperBuilder);
|
| + return wrapUnique(new DrawLooperBuilder);
|
| }
|
|
|
| PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper()
|
|
|