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

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 99263: Allow Frame.cpp to be unforked.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « 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/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 14894)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -154,7 +154,9 @@
}
void WebFrameLoaderClient::detachedFromParent3() {
- // Nothing to do here.
+ // Close down the proxy. This is done at this point to avoid any problems
+ // when ScriptController::clearWindowShell is called later.
+ webframe_->frame()->script()->proxy()->clearForClose();
}
// This function is responsible for associating the |identifier| with a given
« 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