 Chromium Code Reviews
 Chromium Code Reviews Issue 112035:
  Add method for getting global v8::Context  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 112035:
  Add method for getting global v8::Context  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/debug.cc | 
| =================================================================== | 
| --- src/debug.cc (revision 2004) | 
| +++ src/debug.cc (working copy) | 
| @@ -2384,7 +2384,9 @@ | 
| v8::Handle<v8::Context> MessageImpl::GetEventContext() const { | 
| - return v8::Utils::ToLocal(Debug::debugger_entry()->GetContext()); | 
| + Handle<Context> context = Debug::debugger_entry()->GetContext(); | 
| + Handle<Context> global_context(context->global_context()); | 
| + return v8::Utils::ToLocal(global_context); | 
| } |