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

Unified Diff: content/browser/frame_host/frame_tree_node.cc

Issue 2857213005: PlzNavigate: implement process reuse for ServiceWorkers (Closed)
Patch Set: Created 3 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
Index: content/browser/frame_host/frame_tree_node.cc
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 0fadcaa8afb6208aa9e8cc06439e864a03a492eb..47ad2bc8d88b71e08a8ba4c55d7b47bb40d51100 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -202,7 +202,7 @@ void FrameTreeNode::RemoveChild(FrameTreeNode* child) {
}
void FrameTreeNode::ResetForNewProcess() {
- current_frame_host()->set_last_committed_url(GURL());
+ current_frame_host()->SetLastCommittedUrl(GURL());
blame_context_.TakeSnapshot();
// Remove child nodes from the tree, then delete them. This destruction
@@ -242,7 +242,7 @@ void FrameTreeNode::SetOriginalOpener(FrameTreeNode* opener) {
void FrameTreeNode::SetCurrentURL(const GURL& url) {
if (!has_committed_real_load_ && url != url::kAboutBlankURL)
has_committed_real_load_ = true;
- current_frame_host()->set_last_committed_url(url);
+ current_frame_host()->SetLastCommittedUrl(url);
blame_context_.TakeSnapshot();
}

Powered by Google App Engine
This is Rietveld 408576698