Chromium Code Reviews| Index: chrome/browser/android/webapps/add_to_homescreen_manager.cc |
| diff --git a/chrome/browser/android/webapps/add_to_homescreen_manager.cc b/chrome/browser/android/webapps/add_to_homescreen_manager.cc |
| index 45b0459ecd3b0a54e23e33667f249893c27350e1..5f0f55f1371de530ad9b44293251a51a344acf9c 100644 |
| --- a/chrome/browser/android/webapps/add_to_homescreen_manager.cc |
| +++ b/chrome/browser/android/webapps/add_to_homescreen_manager.cc |
| @@ -6,7 +6,6 @@ |
| #include "base/android/jni_android.h" |
| #include "base/android/jni_string.h" |
| -#include "base/guid.h" |
| #include "base/location.h" |
| #include "base/memory/ptr_util.h" |
| #include "base/strings/string16.h" |
| @@ -118,10 +117,7 @@ void AddToHomescreenManager::AddShortcut(const ShortcutInfo& info, |
| RecordAddToHomescreen(); |
|
dominickn
2017/03/01 02:29:40
Minor nit: remove newline on line 119
|
| - const std::string& uid = base::GenerateGUID(); |
| - ShortcutHelper::AddToLauncherWithSkBitmap( |
| - web_contents->GetBrowserContext(), info, uid, icon, |
| - data_fetcher_->FetchSplashScreenImageCallback(uid)); |
| + ShortcutHelper::AddToLauncherWithSkBitmap(web_contents, info, icon); |
| // Fire the appinstalled event. |
| blink::mojom::InstallationServicePtr installation_service; |