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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8EventListener.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, 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/V8EventListener.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.h b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.h
index 5b6423df9ccfeec6f3ff6a90cfe4f9d5f97c7d3e..6dda77ed615d1692a1500b14d58d3c5045085d3c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.h
@@ -43,9 +43,9 @@ class Event;
// that can handle the event.
class V8EventListener : public V8AbstractEventListener {
public:
- static PassRefPtrWillBeRawPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState)
+ static RawPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState)
{
- RefPtrWillBeRawPtr<V8EventListener> eventListener = adoptRefWillBeNoop(new V8EventListener(isAttribute, scriptState));
+ RawPtr<V8EventListener> eventListener = new V8EventListener(isAttribute, scriptState);
eventListener->setListenerObject(listener);
return eventListener.release();
}

Powered by Google App Engine
This is Rietveld 408576698