| Index: chrome/renderer/web_apps.cc
|
| diff --git a/chrome/renderer/web_apps.cc b/chrome/renderer/web_apps.cc
|
| index 6032524dfe4528c31397b1f66f09a606a7fb11ba..5b3e2ebc3b7f94361306469362757eb9a9d98a86 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;
|
|
|