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 a3219999d74aeeed7a0153fe6ccc91741a42a645..ba26863396647215f75c5d1b601f3fc0383a2329 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -1400,7 +1400,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(chrome::kJavaScriptScheme)) { |
+ if (url.SchemeIs(content::kJavaScriptScheme)) { |
content::RenderProcessHost* process = web_contents_->GetRenderProcessHost(); |
if (!PermissionsData::CanExecuteScriptOnPage( |
GetExtension(), |
@@ -1433,7 +1433,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(chrome::kJavaScriptScheme)) |
+ if (!url.SchemeIs(content::kJavaScriptScheme)) |
DCHECK_EQ(url.spec(), web_contents_->GetURL().spec()); |
return true; |