| Index: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| index 5eadb0fb18e94fd62fa17eaf27829516fae8faa5..8fdb35d1c5d5126f86b5f86e08f1f50bfd95f9b8 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| @@ -56,13 +56,13 @@ void NodeIntersectionObserverData::dispose()
|
| }
|
| #endif
|
|
|
| -WeakPtrWillBeRawPtr<Node> NodeIntersectionObserverData::createWeakPtr(Node* node)
|
| +RawPtr<Node> NodeIntersectionObserverData::createWeakPtr(Node* node)
|
| {
|
| #if ENABLE(OILPAN)
|
| return node;
|
| #else
|
| if (!m_weakPointerFactory)
|
| - m_weakPointerFactory = adoptPtrWillBeNoop(new WeakPtrFactory<Node>(node));
|
| + m_weakPointerFactory = new WeakPtrFactory<Node>(node);
|
| WeakPtr<Node> result = m_weakPointerFactory->createWeakPtr();
|
| ASSERT(result.get() == node);
|
| return result;
|
|
|