| Index: Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.cpp b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| index 6760d5202b35ee1599e0eed186b482786ae8c160..96349190a3eda39b15334cef20fc385638d9d69f 100644
|
| --- a/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
| @@ -141,7 +141,7 @@ v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructorConstructor::GetTempl
|
| result->SetClassName(v8::String::NewSymbol("TestNamedConstructor"));
|
| result->Inherit(V8TestNamedConstructor::GetTemplate(isolate, currentWorldType));
|
|
|
| - cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(isolate, result);
|
| + cachedTemplate.Reset(isolate, result);
|
| return cachedTemplate;
|
| }
|
|
|
|
|