| 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 ec0a62499a864848122fbeacab9f4a143b679283..6a59dd41e3908ddac3af63f36ff9dd6152a8e4f1 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
|
| @@ -79,13 +79,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;
|
|
|