Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
index 279e94f79bc1791bfb32669d0d2009502c59af7d..0087fa02e4593fdf47a9ea535a56e05ceff01b59 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
@@ -20,9 +20,8 @@ |
#include "wtf/Assertions.h" |
#include "wtf/HashMap.h" |
#include "wtf/HashSet.h" |
-#include "wtf/PtrUtil.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/Vector.h" |
-#include <memory> |
#include <utility> |
class SkPicture; |
@@ -40,9 +39,9 @@ class PLATFORM_EXPORT PaintController { |
WTF_MAKE_NONCOPYABLE(PaintController); |
USING_FAST_MALLOC(PaintController); |
public: |
- static std::unique_ptr<PaintController> create() |
+ static PassOwnPtr<PaintController> create() |
{ |
- return wrapUnique(new PaintController()); |
+ return adoptPtr(new PaintController()); |
} |
~PaintController() |