Index: third_party/WebKit/Source/core/css/CSSSelector.h |
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.h b/third_party/WebKit/Source/core/css/CSSSelector.h |
index 766005b1d82533949068e5014dfce4c3c20a4c9a..65dab52ab9a88f0fc76aa261bd52256f9996df39 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.h |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h |
@@ -25,8 +25,9 @@ |
#include "core/CoreExport.h" |
#include "core/dom/QualifiedName.h" |
#include "core/style/ComputedStyleConstants.h" |
+#include "wtf/OwnPtr.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/RefCounted.h" |
-#include <memory> |
namespace blink { |
class CSSSelectorList; |
@@ -251,7 +252,7 @@ public: |
void setValue(const AtomicString&, bool matchLowerCase); |
void setAttribute(const QualifiedName&, AttributeMatchType); |
void setArgument(const AtomicString&); |
- void setSelectorList(std::unique_ptr<CSSSelectorList>); |
+ void setSelectorList(PassOwnPtr<CSSSelectorList>); |
void setNth(int a, int b); |
bool matchNth(int count) const; |
@@ -337,7 +338,7 @@ private: |
} m_bits; |
QualifiedName m_attribute; // used for attribute selector |
AtomicString m_argument; // Used for :contains, :lang, :nth-* |
- std::unique_ptr<CSSSelectorList> m_selectorList; // Used for :-webkit-any and :not |
+ OwnPtr<CSSSelectorList> m_selectorList; // Used for :-webkit-any and :not |
private: |
RareData(const AtomicString& value); |