| Index: third_party/WebKit/Source/core/css/SelectorFilter.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/SelectorFilter.cpp b/third_party/WebKit/Source/core/css/SelectorFilter.cpp
|
| index 73107df22f983b43c87c03abc72571bbcf885d6b..deb464e4eaf47d7cd877bd56831d9a5ec1e88490 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorFilter.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorFilter.cpp
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "core/css/CSSSelector.h"
|
| #include "core/dom/Document.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -86,7 +87,7 @@ void SelectorFilter::pushParent(Element& parent)
|
| if (m_parentStack.isEmpty()) {
|
| ASSERT(parent == parent.document().documentElement());
|
| ASSERT(!m_ancestorIdentifierFilter);
|
| - m_ancestorIdentifierFilter = adoptPtr(new IdentifierFilter);
|
| + m_ancestorIdentifierFilter = wrapUnique(new IdentifierFilter);
|
| pushParentStackFrame(parent);
|
| return;
|
| }
|
|
|