Index: third_party/WebKit/Source/core/style/CachedUAStyle.h |
diff --git a/third_party/WebKit/Source/core/style/CachedUAStyle.h b/third_party/WebKit/Source/core/style/CachedUAStyle.h |
index f9cadf8bcacf8a37abb6ca33ba430a53d73d91cb..347b4fe21869c5e43c7cff103248b5b0d7772781 100644 |
--- a/third_party/WebKit/Source/core/style/CachedUAStyle.h |
+++ b/third_party/WebKit/Source/core/style/CachedUAStyle.h |
@@ -25,6 +25,8 @@ |
#include "core/style/ComputedStyle.h" |
#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -36,9 +38,9 @@ class CachedUAStyle { |
USING_FAST_MALLOC(CachedUAStyle); |
WTF_MAKE_NONCOPYABLE(CachedUAStyle); |
public: |
- static PassOwnPtr<CachedUAStyle> create(const ComputedStyle* style) |
+ static std::unique_ptr<CachedUAStyle> create(const ComputedStyle* style) |
{ |
- return adoptPtr(new CachedUAStyle(style)); |
+ return wrapUnique(new CachedUAStyle(style)); |
} |
BorderData border; |