Commit a127ab5b authored by Rachel Sugrono's avatar Rachel Sugrono Committed by Commit Bot

[quickview] Variable name change

|deleteMenuItem| changed to |deleteCommand|.

Bug: 803259
Change-Id: Iceeb2ef11c1b74a2c4cf723dc7279e3fc26ae456
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032624Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Commit-Queue: Rachel Sugrono <rsugrono@google.com>
Cr-Commit-Position: refs/heads/master@{#737165}
parent 13eace25
...@@ -282,9 +282,9 @@ class QuickViewController { ...@@ -282,9 +282,9 @@ class QuickViewController {
} }
// Delete the entry. // Delete the entry.
const deleteMenuItem = CommandHandler.getCommand('delete'); const deleteCommand = CommandHandler.getCommand('delete');
if (deleteMenuItem.canDeleteEntries_([entry], this.fileManager_)) { if (deleteCommand.canDeleteEntries_([entry], this.fileManager_)) {
deleteMenuItem.deleteEntries_( deleteCommand.deleteEntries_(
[entry], this.fileManager_, this.deleteConfirmDialog_); [entry], this.fileManager_, this.deleteConfirmDialog_);
} }
} }
......
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