Commit 46d69c13 authored by Jesse McKenna's avatar Jesse McKenna Committed by Commit Bot

Remove unused variable from web_app_shortcut_win

This change removes an unused variable from UpdatePlatformShortcuts().
It also removes a stray whitespace.

Change-Id: Ib2fa8cf9b87bd4971c5da6e07d7916db4009040f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459065Reviewed-by: default avatarGlen Robertson <glenrob@chromium.org>
Commit-Queue: Jesse McKenna <jessemckenna@google.com>
Cr-Commit-Position: refs/heads/master@{#815174}
parent 312f7ed0
......@@ -198,7 +198,7 @@ void PostShortcutIOTaskAndReply(
scoped_refptr<base::TaskRunner> GetShortcutIOTaskRunner();
// Sanitizes |name| and returns a version of it that is safe to use as an
// on-disk file name .
// on-disk file name.
base::FilePath GetSanitizedFileName(const base::string16& name);
base::FilePath GetShortcutDataDir(const ShortcutInfo& shortcut_info);
......
......@@ -444,10 +444,6 @@ void UpdatePlatformShortcuts(const base::FilePath& web_app_path,
base::ScopedBlockingCall scoped_blocking_call(FROM_HERE,
base::BlockingType::MAY_BLOCK);
// Generates file name to use with persisted ico and shortcut file.
base::FilePath file_name =
web_app::internals::GetSanitizedFileName(shortcut_info.title);
if (old_app_title != shortcut_info.title) {
// The app's title has changed. Delete all existing app shortcuts and
// recreate them in any locations they already existed (but do not add them
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment