| Index: Source/bindings/scripts/code_generator_v8.pm
|
| diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm
|
| index 099eaba7150bfa086b13b6adba587f333e6a68e4..4b0d2ab7ee9ba11e9f8db1992ba794b45be4af94 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/code_generator_v8.pm
|
| @@ -2933,8 +2933,7 @@
|
| }
|
|
|
| my $argumentString = join(", ", @beforeArgumentList, @argumentList, @afterArgumentList);
|
| - my $refPtrType = IsGarbageCollectedType($interfaceName) ? "RefPtrWillBeRawPtr<$implClassName>" : "RefPtr<$implClassName>";
|
| - $code .= " $refPtrType impl = ${implClassName}::create(${argumentString});\n";
|
| + $code .= " RefPtr<${implClassName}> impl = ${implClassName}::create(${argumentString});\n";
|
| $code .= " v8::Handle<v8::Object> wrapper = info.Holder();\n";
|
|
|
| if ($constructorRaisesException) {
|
| @@ -5161,7 +5160,7 @@
|
| return;
|
| }
|
|
|
| - my $passRefPtrType = GetPassRefPtrType($interface);
|
| + my $createWrapperArgumentType = GetPassRefPtrType($interface);
|
|
|
| # FIXME: Do we really need to treat /SVG/ as dependent DOM objects?
|
| my $wrapperConfiguration = "WrapperConfiguration::Independent";
|
| @@ -5174,7 +5173,7 @@
|
|
|
| my $code = "";
|
| $code .= <<END;
|
| -v8::Handle<v8::Object> ${v8ClassName}::createWrapper(${passRefPtrType} impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +v8::Handle<v8::Object> ${v8ClassName}::createWrapper(${createWrapperArgumentType} impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
| ASSERT(!DOMDataStore::containsWrapper<${v8ClassName}>(impl.get(), isolate));
|
|
|