diff options
Diffstat (limited to 'chrome/renderer/content_settings_observer.cc')
-rw-r--r-- | chrome/renderer/content_settings_observer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc index 2a5fbf5..22a0a80 100644 --- a/chrome/renderer/content_settings_observer.cc +++ b/chrome/renderer/content_settings_observer.cc @@ -396,7 +396,7 @@ bool ContentSettingsObserver::allowWebComponents(WebFrame* frame, return true; WebSecurityOrigin origin = frame->document().securityOrigin(); - if (EqualsASCII(origin.protocol(), chrome::kChromeUIScheme)) + if (EqualsASCII(origin.protocol(), content::kChromeUIScheme)) return true; if (const extensions::Extension* extension = GetExtension(origin)) { @@ -633,7 +633,7 @@ bool ContentSettingsObserver::IsWhitelistedForContentSettings( if (origin.isUnique()) return false; // Uninitialized document? - if (EqualsASCII(origin.protocol(), chrome::kChromeUIScheme)) + if (EqualsASCII(origin.protocol(), content::kChromeUIScheme)) return true; // Browser UI elements should still work. if (EqualsASCII(origin.protocol(), chrome::kChromeDevToolsScheme)) |