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

Unified Diff: content/renderer/render_frame_proxy.cc

Issue 281653003: DRAFT CL: Add FrameNavigationEntry and track subframe session histories. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 5 years, 9 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 | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_proxy.cc
diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc
index ae6d699ae739783c76a70f4dcb05fcd246c45949..f76ab7149792a6f2284ab5c41e0992ba3510ea21 100644
--- a/content/renderer/render_frame_proxy.cc
+++ b/content/renderer/render_frame_proxy.cc
@@ -304,8 +304,9 @@ void RenderFrameProxy::OnDidUpdateName(const std::string& name) {
}
void RenderFrameProxy::frameDetached() {
- if (web_frame_->parent())
- web_frame_->parent()->removeChild(web_frame_);
+ // TODO(creis): See http://crbug.com/433012.
+ //if (web_frame_->parent())
+ // web_frame_->parent()->removeChild(web_frame_);
web_frame_->close();
delete this;
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698