| Index: third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.cpp b/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.cpp
|
| index c028c9b7a6ec422a4fe154a5047f8ddeeb02eac7..8feb16903c392409bab38eec2df934611b3615c5 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.cpp
|
| @@ -48,7 +48,7 @@ namespace blink {
|
| V(detached, DetachedCallback) \
|
| V(attributeChanged, AttributeChangedCallback)
|
|
|
| -PassRefPtrWillBeRawPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecycleCallbacks::create(ScriptState* scriptState, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged)
|
| +RawPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecycleCallbacks::create(ScriptState* scriptState, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged)
|
| {
|
| v8::Isolate* isolate = scriptState->isolate();
|
| // A given object can only be used as a Custom Element prototype
|
| @@ -61,7 +61,7 @@ PassRefPtrWillBeRawPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecyc
|
| CALLBACK_LIST(SET_HIDDEN_VALUE)
|
| #undef SET_HIDDEN_VALUE
|
|
|
| - return adoptRefWillBeNoop(new V8CustomElementLifecycleCallbacks(scriptState, prototype, created, attached, detached, attributeChanged));
|
| + return new V8CustomElementLifecycleCallbacks(scriptState, prototype, created, attached, detached, attributeChanged);
|
| }
|
|
|
| static CustomElementLifecycleCallbacks::CallbackType flagSet(v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged)
|
|
|