Revert "Bootstrapper::DetachGlobal also need to unset global_proxy's constructor to remove all refs to context"
This reverts r22460 for potentially breaking the mac webkit build. TBR=titzer@chromium.org BUG= Review URL: https://codereview.chromium.org/401813002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22474 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
fb3128f3f8
commit
353ab8e1be
@ -355,7 +355,6 @@ void Bootstrapper::DetachGlobal(Handle<Context> env) {
|
||||
Handle<JSGlobalProxy> global_proxy(JSGlobalProxy::cast(env->global_proxy()));
|
||||
global_proxy->set_native_context(*factory->null_value());
|
||||
SetObjectPrototype(global_proxy, factory->null_value());
|
||||
global_proxy->map()->set_constructor(*factory->null_value());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user