Index: third_party/WebKit/Source/core/dom/AXObjectCache.cpp |
diff --git a/third_party/WebKit/Source/core/dom/AXObjectCache.cpp b/third_party/WebKit/Source/core/dom/AXObjectCache.cpp |
index 0051d5ee1b9d4e3b690d23aa5f6209d6a58e8a25..373e1b7346ad6cebc93db1f6b8c56212235d9e1b 100644 |
--- a/third_party/WebKit/Source/core/dom/AXObjectCache.cpp |
+++ b/third_party/WebKit/Source/core/dom/AXObjectCache.cpp |
@@ -28,9 +28,6 @@ |
#include "core/dom/AXObjectCache.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
- |
namespace blink { |
AXObjectCache::AXObjectCacheCreateFunction AXObjectCache::m_createFunction = nullptr; |
@@ -55,9 +52,9 @@ AXObjectCache::~AXObjectCache() |
{ |
} |
-std::unique_ptr<ScopedAXObjectCache> ScopedAXObjectCache::create(Document& document) |
+PassOwnPtr<ScopedAXObjectCache> ScopedAXObjectCache::create(Document& document) |
{ |
- return wrapUnique(new ScopedAXObjectCache(document)); |
+ return adoptPtr(new ScopedAXObjectCache(document)); |
} |
ScopedAXObjectCache::ScopedAXObjectCache(Document& document) |