Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index ebd10e9739d85a3dbb38636447002fd1893e0df6..7ccda3ede72b8de378b68ee5d6f22fac6724e62e 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -772,6 +772,7 @@ void NavigatorImpl::OnBeginNavigation( |
navigation_request = scoped_request.get(); |
navigation_request_map_.set( |
frame_tree_node->frame_tree_node_id(), scoped_request.Pass()); |
+ navigation_data_.reset(); |
davidben
2015/01/28 21:33:26
Should navigation_data_ be a map, or perhaps condi
carlosk
2015/01/30 14:01:47
Indeed we're only interested in main-frame, browse
nasko
2015/02/02 18:28:53
In regular Chrome right now, yes. With Site Isolat
carlosk
2015/02/03 11:00:03
Ack. The future task to move it into NavigationReq
|
} |
DCHECK(navigation_request); |
@@ -833,6 +834,7 @@ void NavigatorImpl::CancelNavigation(FrameTreeNode* frame_tree_node) { |
CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableBrowserSideNavigation)); |
navigation_request_map_.erase(frame_tree_node->frame_tree_node_id()); |
+ navigation_data_.reset(); |
// TODO(carlosk): move this cleanup into the NavigationRequest destructor once |
// we properly cancel ongoing navigations. |
frame_tree_node->render_manager()->CleanUpNavigation(); |