Index: third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h b/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h |
index 0466f0df090b52aafacd921635996af87ff7ae67..97ea2435e8a5f807f199b8aa01922158275c9977 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h |
@@ -41,9 +41,9 @@ class ErrorEvent; |
class V8ErrorHandler final : public V8EventListener { |
public: |
- static PassRefPtrWillBeRawPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) |
+ static RawPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) |
{ |
- RefPtrWillBeRawPtr<V8ErrorHandler> eventListener = adoptRefWillBeNoop(new V8ErrorHandler(isInline, scriptState)); |
+ RawPtr<V8ErrorHandler> eventListener = new V8ErrorHandler(isInline, scriptState); |
eventListener->setListenerObject(listener); |
return eventListener.release(); |
} |