From: dcarney@chromium.org Date: Fri, 18 Jul 2014 11:47:35 +0000 (+0000) Subject: Revert "Bootstrapper::DetachGlobal also need to unset global_proxy's constructor... X-Git-Tag: upstream/4.7.83~8160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=353ab8e1be3c208e2bce480d2a5ab840912edceb;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 0dfe3a3..aaa0f3f 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -355,7 +355,6 @@ void Bootstrapper::DetachGlobal(Handle env) { Handle 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()); }