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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h

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/bindings/core/v8/V8LazyEventListener.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h
index 3ea1c8cb8aa4a66ffd9446878fe789f14af4c90f..a3a86eec5b982e50695958f979d49bbc3eece7f4 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h
@@ -45,9 +45,9 @@ class Node;
// A V8LazyEventListener is either a HTML or SVG event handler.
class V8LazyEventListener final : public V8AbstractEventListener {
public:
- static PassRefPtrWillBeRawPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate)
+ static RawPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate)
{
- return adoptRefWillBeNoop(new V8LazyEventListener(isolate, functionName, eventParameterName, code, sourceURL, position, node));
+ return (new V8LazyEventListener(isolate, functionName, eventParameterName, code, sourceURL, position, node));
}
DEFINE_INLINE_VIRTUAL_TRACE()
@@ -76,7 +76,7 @@ private:
AtomicString m_eventParameterName;
String m_code;
String m_sourceURL;
- RawPtrWillBeMember<Node> m_node;
+ Member<Node> m_node;
TextPosition m_position;
};

Powered by Google App Engine
This is Rietveld 408576698