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

Unified Diff: third_party/WebKit/Source/core/xml/XPathParser.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/xml/XPathParser.h
diff --git a/third_party/WebKit/Source/core/xml/XPathParser.h b/third_party/WebKit/Source/core/xml/XPathParser.h
index 7e9228a2fa0784689cbf7b45cf75c30a33dd7850..dcf7aa8bb3a38d7b4fef0756b2e5a1eb0174d715 100644
--- a/third_party/WebKit/Source/core/xml/XPathParser.h
+++ b/third_party/WebKit/Source/core/xml/XPathParser.h
@@ -30,6 +30,7 @@
#include "core/xml/XPathPredicate.h"
#include "core/xml/XPathStep.h"
#include "wtf/Allocator.h"
+#include <memory>
namespace blink {
@@ -108,7 +109,7 @@ private:
int m_lastTokenType;
Member<XPathNSResolver> m_resolver;
- HashSet<OwnPtr<String>> m_strings;
+ HashSet<std::unique_ptr<String>> m_strings;
};
} // namespace XPath
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp ('k') | third_party/WebKit/Source/core/xml/XPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698