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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 b3a11bf41374fed83f0fb6860d2f5c191e76c4ba..146d11dc430c41fa693cb3967e308aae253ec975 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()
@@ -78,7 +78,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