Chromium Code Reviews| 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..06507a3bce13e597fa4a9b25fdc0f8afece2e53a 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)); |
|
sof
2016/02/09 15:45:45
adoptPtrWillBeNoop(A) => A instead?
|
| eventListener->setListenerObject(listener); |
| return eventListener.release(); |
| } |