REGRESSION(r144617): Wrong usage of overwritten variable in toDOMWindow (V8Binding...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 14:30:44 +0000 (14:30 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 14:30:44 +0000 (14:30 +0000)
commitdb7de0c208b20f23dc9021933b5d6161ffa0d7b4
tree81dacaab3f25533892ef4221fb2b4f8ec3593705
parentc50056d6899b8937a1e7555757b090f0ada84146
REGRESSION(r144617): Wrong usage of overwritten variable in toDOMWindow (V8Binding.cpp)
https://bugs.webkit.org/show_bug.cgi?id=111565

Patch by Marja Hölttä <marja@chromium.org> on 2013-03-06
Reviewed by Jochen Eisinger.

In toDOMWindow, the variable "global" was first nuked, and then used again. This
change was introduced in r144617.

No new tests (no functional changes).

* bindings/v8/V8Binding.cpp:
(WebCore::toDOMWindow):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/V8Binding.cpp