| Index: ui/file_manager/file_manager/background/js/background.js
|
| diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
|
| index ef7a4a07fc667e4adab2ca84b6fc085bb32b3c15..47fdcc4e5330abd66b634348cf77a04dadfb8076 100644
|
| --- a/ui/file_manager/file_manager/background/js/background.js
|
| +++ b/ui/file_manager/file_manager/background/js/background.js
|
| @@ -291,17 +291,17 @@ AppWindowWrapper.focusOnDesktop = function(appWindow, opt_profileId) {
|
| if (opt_profileId) {
|
| onFulfilled(opt_profileId);
|
| } else {
|
| - chrome.fileManagerPrivate.getProfiles(function(profiles,
|
| - currentId,
|
| - displayedId) {
|
| - onFulfilled(currentId);
|
| - });
|
| + chrome.fileManagerPrivate.getProfiles(
|
| + function(profiles, currentId, displayedId) {
|
| + onFulfilled(currentId);
|
| + });
|
| }
|
| }).then(function(profileId) {
|
| appWindow.contentWindow.chrome.fileManagerPrivate.visitDesktop(
|
| - profileId, function() {
|
| - appWindow.focus();
|
| - });
|
| + profileId,
|
| + function() {
|
| + appWindow.focus();
|
| + });
|
| });
|
| };
|
|
|
| @@ -805,12 +805,12 @@ audioPlayerInitializationQueue.run(function(callback) {
|
| * @type {Object}
|
| */
|
| var audioPlayerCreateOptions = Object.freeze({
|
| - type: 'panel',
|
| - hidden: true,
|
| - minHeight: 44 + 73, // 44px: track, 73px: controller
|
| - minWidth: 292,
|
| - height: 44 + 73, // collapsed
|
| - width: 292
|
| + type: 'panel',
|
| + hidden: true,
|
| + minHeight: 44 + 73, // 44px: track, 73px: controller
|
| + minWidth: 292,
|
| + height: 44 + 73, // collapsed
|
| + width: 292
|
| });
|
|
|
| audioPlayer = new SingletonAppWindowWrapper('audio_player.html',
|
|
|