| Index: third_party/WebKit/Source/core/dom/SelectorQuery.h
|
| diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.h b/third_party/WebKit/Source/core/dom/SelectorQuery.h
|
| index 2dc05bf48f44f9cf1b6c94ce9f4de82497677f7e..33fb5510d6f8f72579c17ee5e16d4395805fc4f5 100644
|
| --- a/third_party/WebKit/Source/core/dom/SelectorQuery.h
|
| +++ b/third_party/WebKit/Source/core/dom/SelectorQuery.h
|
| @@ -32,7 +32,6 @@
|
| #include "wtf/HashMap.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/text/AtomicStringHash.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -90,7 +89,7 @@ class CORE_EXPORT SelectorQuery {
|
| WTF_MAKE_NONCOPYABLE(SelectorQuery);
|
| USING_FAST_MALLOC(SelectorQuery);
|
| public:
|
| - static std::unique_ptr<SelectorQuery> adopt(CSSSelectorList);
|
| + static PassOwnPtr<SelectorQuery> adopt(CSSSelectorList);
|
|
|
| bool matches(Element&) const;
|
| Element* closest(Element&) const;
|
| @@ -110,7 +109,7 @@ public:
|
| void invalidate();
|
|
|
| private:
|
| - HashMap<AtomicString, std::unique_ptr<SelectorQuery>> m_entries;
|
| + HashMap<AtomicString, OwnPtr<SelectorQuery>> m_entries;
|
| };
|
|
|
| } // namespace blink
|
|
|