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

Unified Diff: Source/WebCore/bindings/v8/V8IsolatedContext.cpp

Issue 10386064: Revert 114320 - [V8] Don't delete the per context data until the V8IsolatedContext is deleted (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months 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 | « LayoutTests/http/tests/security/isolatedWorld/context-destroy-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/bindings/v8/V8IsolatedContext.cpp
===================================================================
--- Source/WebCore/bindings/v8/V8IsolatedContext.cpp (revision 116575)
+++ Source/WebCore/bindings/v8/V8IsolatedContext.cpp (working copy)
@@ -105,6 +105,7 @@
void V8IsolatedContext::destroy()
{
+ m_perContextData.clear();
m_frame->loader()->client()->willReleaseScriptContext(context(), m_world->id());
m_context->get().MakeWeak(this, &contextWeakReferenceCallback);
m_frame = 0;
« no previous file with comments | « LayoutTests/http/tests/security/isolatedWorld/context-destroy-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698