Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698