| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| index 9d25a576040a6305621c5c916d6236a3b2f90280..d94e3a78a1149d45cbe60b97835e30ca89486705 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| @@ -76,8 +76,8 @@ static v8::Local<v8::Value> getItem(HTMLAllCollection* collection, v8::Local<v8:
|
| if (!argument->IsNumber())
|
| UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), indexedWithNonNumberFeature);
|
|
|
| - RawPtr<Element> result = collection->item(index->Value());
|
| - return toV8(result.release(), info.Holder(), info.GetIsolate());
|
| + Element* result = collection->item(index->Value());
|
| + return toV8(result, info.Holder(), info.GetIsolate());
|
| }
|
|
|
| void V8HTMLAllCollection::itemMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|