| Index: ui/file_manager/gallery/js/background.js
|
| diff --git a/ui/file_manager/gallery/js/background.js b/ui/file_manager/gallery/js/background.js
|
| index e76a91b4f21c69b23ce9bd11876636409d80b647..74133613ae15a32ce4fc19b17e2a6d5c93014a31 100644
|
| --- a/ui/file_manager/gallery/js/background.js
|
| +++ b/ui/file_manager/gallery/js/background.js
|
| @@ -30,7 +30,7 @@ function BackgroundComponents(stringData, volumeManager) {
|
| */
|
| BackgroundComponents.load = function() {
|
| var stringDataPromise = new Promise(function(fulfill) {
|
| - chrome.fileBrowserPrivate.getStrings(function(stringData) {
|
| + chrome.fileManagerPrivate.getStrings(function(stringData) {
|
| loadTimeData.data = stringData;
|
| fulfill(stringData);
|
| });
|
| @@ -62,7 +62,7 @@ var backgroundComponentsPromise = BackgroundComponents.load();
|
| */
|
| function resolveEntries(entries) {
|
| return new Promise(function(fulfill, reject) {
|
| - chrome.fileBrowserPrivate.resolveIsolatedEntries(entries,
|
| + chrome.fileManagerPrivate.resolveIsolatedEntries(entries,
|
| function(externalEntries) {
|
| if (!chrome.runtime.lastError)
|
| fulfill(externalEntries);
|
|
|