summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/web_apps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/web_apps.cc')
-rw-r--r--chrome/renderer/web_apps.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/web_apps.cc b/chrome/renderer/web_apps.cc
index 6032524..5b3e2eb 100644
--- a/chrome/renderer/web_apps.cc
+++ b/chrome/renderer/web_apps.cc
@@ -152,11 +152,11 @@ void ParseWebAppFromWebDocument(WebFrame* frame,
bool bookmark_apps_enabled = !base::CommandLine::ForCurrentProcess()->
HasSwitch(switches::kDisableNewBookmarkApps);
#endif
- if (LowerCaseEqualsASCII(rel, "icon") ||
- LowerCaseEqualsASCII(rel, "shortcut icon") ||
+ if (base::LowerCaseEqualsASCII(rel, "icon") ||
+ base::LowerCaseEqualsASCII(rel, "shortcut icon") ||
(bookmark_apps_enabled &&
- (LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
- LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
+ (base::LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
+ base::LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
AddInstallIcon(elem, &app_info->icons);
}
} else if (elem.hasHTMLTagName("meta") && elem.hasAttribute("name")) {
@@ -173,10 +173,10 @@ void ParseWebAppFromWebDocument(WebFrame* frame,
if (!app_info->app_url.is_valid())
app_info->app_url = GURL();
} else if (name == "mobile-web-app-capable" &&
- LowerCaseEqualsASCII(content, "yes")) {
+ base::LowerCaseEqualsASCII(content, "yes")) {
app_info->mobile_capable = WebApplicationInfo::MOBILE_CAPABLE;
} else if (name == "apple-mobile-web-app-capable" &&
- LowerCaseEqualsASCII(content, "yes") &&
+ base::LowerCaseEqualsASCII(content, "yes") &&
app_info->mobile_capable ==
WebApplicationInfo::MOBILE_CAPABLE_UNSPECIFIED) {
app_info->mobile_capable = WebApplicationInfo::MOBILE_CAPABLE_APPLE;