Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: third_party/WebKit/Source/core/dom/AXObjectCache.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698