Index: third_party/WebKit/Source/core/dom/AXObjectCache.h |
diff --git a/third_party/WebKit/Source/core/dom/AXObjectCache.h b/third_party/WebKit/Source/core/dom/AXObjectCache.h |
index be51633e666f095c81d78d5772da2ae4e2a27ce1..21c2541667a0ed371825671f777926b903e3ab85 100644 |
--- a/third_party/WebKit/Source/core/dom/AXObjectCache.h |
+++ b/third_party/WebKit/Source/core/dom/AXObjectCache.h |
@@ -28,6 +28,7 @@ |
#include "core/CoreExport.h" |
#include "core/dom/Document.h" |
+#include <memory> |
typedef unsigned AXID; |
@@ -154,7 +155,7 @@ class CORE_EXPORT ScopedAXObjectCache { |
USING_FAST_MALLOC(ScopedAXObjectCache); |
WTF_MAKE_NONCOPYABLE(ScopedAXObjectCache); |
public: |
- static PassOwnPtr<ScopedAXObjectCache> create(Document&); |
+ static std::unique_ptr<ScopedAXObjectCache> create(Document&); |
~ScopedAXObjectCache(); |
AXObjectCache* get(); |