| 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 2b93d0d41ec4d7a099ff856f997a5fb5a5011243..a0db395f7a486008d6ec09599360ebeb4fdf4743 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/code_generator_v8.pm
|
| @@ -4865,7 +4865,7 @@ END
|
| return wrapper;
|
| if (!isolatedWorldForEnteredContext()) {
|
| if (Frame* frame = impl->frame())
|
| - frame->script()->windowShell(mainThreadNormalWorld())->updateDocumentWrapper(wrapper);
|
| + frame->script().windowShell(mainThreadNormalWorld())->updateDocumentWrapper(wrapper);
|
| }
|
| END
|
| }
|
| @@ -4928,7 +4928,7 @@ END
|
| AddToImplIncludes("core/frame/Frame.h");
|
| $code .= <<END;
|
| if (Frame* frame = impl->frame()) {
|
| - if (frame->script()->initializeMainWorld()) {
|
| + if (frame->script().initializeMainWorld()) {
|
| // initializeMainWorld may have created a wrapper for the object, retry from the start.
|
| v8::Handle<v8::Object> wrapper = DOMDataStore::getWrapper<${v8ClassName}>(impl.get(), isolate);
|
| if (!wrapper.IsEmpty())
|
|
|