Index: chrome/browser/web_applications/web_app.cc |
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc |
index 958520b9f7d8052d883722596bd148a9a8e8ed57..e594589fd74d8cf4ff77c60b8fbf753cd75f7502 100644 |
--- a/chrome/browser/web_applications/web_app.cc |
+++ b/chrome/browser/web_applications/web_app.cc |
@@ -294,8 +294,8 @@ void UpdateShortcutInfoAndIconForApp(const extensions::Extension* extension, |
bool ShouldCreateShortcutFor(Profile* profile, |
const extensions::Extension* extension) { |
return extension->is_platform_app() && |
- extension->location() != extensions::Manifest::COMPONENT && |
- extensions::ui_util::ShouldDisplayInAppLauncher(extension, profile); |
+ extension->location() != extensions::Manifest::COMPONENT && |
+ extensions::ui_util::CanDisplayInAppLauncher(extension, profile); |
} |
base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, |