Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: webkit/glue/devtools/debugger_agent_impl.cc

Issue 342093: DevTools: fix renderer crash when pause is pressed during page load (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/debugger_agent_impl.cc
===================================================================
--- webkit/glue/devtools/debugger_agent_impl.cc (revision 30804)
+++ webkit/glue/devtools/debugger_agent_impl.cc (working copy)
@@ -107,10 +107,7 @@
ASSERT(V8DOMWrapper::convertDOMWrapperToNative<DOMWindow>(window_wrapper) ==
frame->domWindow());
- // Create a new environment using an empty template for the shadow
- // object. Reuse the global object if one has been created earlier.
- v8::Handle<v8::ObjectTemplate> global_template =
- V8DOMWindow::GetShadowObjectTemplate();
+ v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New();
// Install a security handler with V8.
global_template->SetAccessCheckCallbacks(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698