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

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

Issue 2903263002: Fix LoadDataWithBaseUrlTest.testloadDataWithBaseUrlCallsOnPageStarted after r474498. (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
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 8fb708f2d979f82b1ae947abe1b814282b1ce947..8323fd531be259fbdfe62f2420ad63a81890a71b 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -386,17 +386,6 @@ void NavigationRequest::BeginNavigation() {
state_ = STARTED;
CreateNavigationHandle();
- if (nav_entry_id_) {
- NavigationEntryImpl* nav_entry =
- static_cast<NavigationControllerImpl*>(
- frame_tree_node_->navigator()->GetController())
- ->GetEntryWithUniqueID(nav_entry_id_);
- if (nav_entry) {
- navigation_handle_->set_base_url_for_data_url(
- nav_entry->GetBaseURLForDataURL());
- }
- }
-
RenderFrameDevToolsAgentHost::OnBeforeNavigation(navigation_handle_.get());
if (ShouldMakeNetworkRequestForURL(common_params_.url) &&
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698