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

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

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android ifx Created 6 years, 6 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/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index ef1f3c1d3efcfcd2ed631aa72c053b6fa2955aaa..a6b00f7722a12ba3b49f42101be51d1ede0102ba 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -543,7 +543,7 @@ void NavigatorImpl::DidNavigate(
bool NavigatorImpl::ShouldAssignSiteForURL(const GURL& url) {
// about:blank should not "use up" a new SiteInstance. The SiteInstance can
// still be used for a normal web site.
- if (url == GURL(kAboutBlankURL))
+ if (url == GURL(url::kAboutBlankURL))
return false;
// The embedder will then have the opportunity to determine if the URL
@@ -596,7 +596,7 @@ void NavigatorImpl::RequestTransferURL(
GetSiteInstance();
if (!GetContentClient()->browser()->ShouldAllowOpenURL(
current_site_instance, url)) {
- dest_url = GURL(kAboutBlankURL);
+ dest_url = GURL(url::kAboutBlankURL);
}
int64 frame_tree_node_id = -1;

Powered by Google App Engine
This is Rietveld 408576698