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 018d193265b35d7b0e863e15efed436f0a048856..7b3e2240a5b31bf57d808edb10533d622336c250 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp |
@@ -39,9 +39,7 @@ |
#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 { |
@@ -49,9 +47,9 @@ DrawLooperBuilder::DrawLooperBuilder() { } |
DrawLooperBuilder::~DrawLooperBuilder() { } |
-std::unique_ptr<DrawLooperBuilder> DrawLooperBuilder::create() |
+PassOwnPtr<DrawLooperBuilder> DrawLooperBuilder::create() |
{ |
- return wrapUnique(new DrawLooperBuilder); |
+ return adoptPtr(new DrawLooperBuilder); |
} |
PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper() |