| Index: chrome/browser/web_applications/web_app_mac_unittest.mm
|
| diff --git a/chrome/browser/web_applications/web_app_mac_unittest.mm b/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| index 6c2a35031c06d6e91696a4bf8c79a49f1bcd8514..a9b3b49ef4551bfce4bb8d38ce44da0d765528ea 100644
|
| --- a/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| +++ b/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| @@ -30,8 +30,9 @@ class WebAppShortcutCreatorMock : public web_app::WebAppShortcutCreator {
|
| public:
|
| explicit WebAppShortcutCreatorMock(
|
| const ShellIntegration::ShortcutInfo& shortcut_info)
|
| - : WebAppShortcutCreator(shortcut_info,
|
| - UTF8ToUTF16("fake.cfbundleidentifier")) {
|
| + : WebAppShortcutCreator(FilePath(),
|
| + shortcut_info,
|
| + UTF8ToUTF16("fake.cfbundleidentifier")) {
|
| }
|
|
|
| MOCK_CONST_METHOD1(GetDestinationPath, FilePath(const FilePath&));
|
| @@ -100,7 +101,7 @@ TEST(WebAppShortcutCreatorTest, UpdateIcon) {
|
| ShellIntegration::ShortcutInfo info = GetShortcutInfo();
|
| info.favicon = *ui::ResourceBundle::GetSharedInstance().GetImageNamed(
|
| IDR_PRODUCT_LOGO_32).ToSkBitmap();
|
| - web_app::WebAppShortcutCreator shortcut_creator(info, string16());
|
| + WebAppShortcutCreatorMock shortcut_creator(info);
|
|
|
| shortcut_creator.UpdateIcon(dst_path);
|
| FilePath icon_path =
|
|
|