Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index d0ca7fed3ed1836d6b8bdd5e6476460008d628ec..c1c08ac728fad7c4e290846f84e18bb8e971350b 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -1173,7 +1173,7 @@ bool TabsUpdateFunction::UpdateURL(const std::string &url_string, |
// JavaScript URLs can do the same kinds of things as cross-origin XHR, so |
// we need to check host permissions before allowing them. |
- if (url.SchemeIs(content::kJavaScriptScheme)) { |
+ if (url.SchemeIs(url::kJavaScriptScheme)) { |
content::RenderProcessHost* process = web_contents_->GetRenderProcessHost(); |
if (!PermissionsData::CanExecuteScriptOnPage( |
GetExtension(), |
@@ -1209,7 +1209,7 @@ bool TabsUpdateFunction::UpdateURL(const std::string &url_string, |
// The URL of a tab contents never actually changes to a JavaScript URL, so |
// this check only makes sense in other cases. |
- if (!url.SchemeIs(content::kJavaScriptScheme)) |
+ if (!url.SchemeIs(url::kJavaScriptScheme)) |
DCHECK_EQ(url.spec(), web_contents_->GetURL().spec()); |
return true; |