| Index: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
| index bf1689ad1af1015135078c1c0235c7a336e15863..30392d7721a91f050f7bb09df347e4bdb3e0784f 100644
|
| --- a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
| @@ -351,8 +351,8 @@ void V8WebGLRenderingContext::getExtensionMethodCustom(const v8::FunctionCallbac
|
| return;
|
| }
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, args[0]);
|
| - WebGLExtension* extension = imp->getExtension(name);
|
| - v8SetReturnValue(args, toV8Object(extension, args.Holder(), args.GetIsolate()));
|
| + RefPtr<WebGLExtension> extension(imp->getExtension(name));
|
| + v8SetReturnValue(args, toV8Object(extension.get(), args.Holder(), args.GetIsolate()));
|
| }
|
|
|
| void V8WebGLRenderingContext::getFramebufferAttachmentParameterMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
|
|