| Index: third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp b/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| index 5a7049cee97ed81ad4b39989509c6f71c9076c18..23714e2d2b10a783d2729c883f1030c04e46f597 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| @@ -282,10 +282,10 @@ static void constructCustomElement(const v8::FunctionCallbackInfo<v8::Value>& in
|
|
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "CustomElement", info.Holder(), info.GetIsolate());
|
| CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| - RawPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState);
|
| + Element* element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| - v8SetReturnValueFast(info, element.release(), document);
|
| + v8SetReturnValueFast(info, element, document);
|
| }
|
|
|
| } // namespace blink
|
|
|