| Index: ui/file_manager/file_manager/foreground/js/file_manager_commands.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
|
| index 59cfbd3c326b163ff095304fa1a7610b0c9c3d3a..af69d7c50df04ae899b652a5467984eeb5f3697d 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
|
| @@ -519,14 +519,10 @@ CommandHandler.COMMANDS_['new-window'] = /** @type {Command} */ ({
|
| * @param {!FileManager} fileManager FileManager to use.
|
| */
|
| execute: function(event, fileManager) {
|
| - chrome.fileManagerPrivate.getProfiles(
|
| - function(profiles, currentId, displayedId) {
|
| - fileManager.backgroundPage.launchFileManager({
|
| - currentDirectoryURL: fileManager.getCurrentDirectoryEntry() &&
|
| - fileManager.getCurrentDirectoryEntry().toURL(),
|
| - displayedId: currentId !== displayedId ? displayedId : undefined
|
| - });
|
| - });
|
| + fileManager.backgroundPage.launchFileManager({
|
| + currentDirectoryURL: fileManager.getCurrentDirectoryEntry() &&
|
| + fileManager.getCurrentDirectoryEntry().toURL()
|
| + });
|
| },
|
| /**
|
| * @param {!Event} event Command event.
|
|
|