Index: ui/file_manager/video_player/js/cast/media_manager.js |
diff --git a/ui/file_manager/video_player/js/cast/media_manager.js b/ui/file_manager/video_player/js/cast/media_manager.js |
index e74649318649b01043833756f983b893d8b34272..c78a0d63bcac68422cf003222794ccd6312dc72c 100644 |
--- a/ui/file_manager/video_player/js/cast/media_manager.js |
+++ b/ui/file_manager/video_player/js/cast/media_manager.js |
@@ -105,7 +105,7 @@ MediaManager.prototype.getMime = function() { |
return Promise.resolve(this.cachedDriveProp_.thumbnailUrl); |
return new Promise(function(fulfill, reject) { |
- chrome.fileBrowserPrivate.getDriveEntryProperties( |
+ chrome.fileBrowserPrivate.getEntryProperties( |
[this.entry_.toURL()], fulfill); |
}.bind(this)).then(function(props) { |
if (!props || !props[0] || !props[0].contentMimeType) { |
@@ -128,7 +128,7 @@ MediaManager.prototype.getThumbnail = function() { |
return Promise.resolve(this.cachedDriveProp_.thumbnailUrl); |
return new Promise(function(fulfill, reject) { |
- chrome.fileBrowserPrivate.getDriveEntryProperties( |
+ chrome.fileBrowserPrivate.getEntryProperties( |
[this.entry_.toURL()], fulfill); |
}.bind(this)).then(function(props) { |
if (!props || !props[0] || !props[0].thumbnailUrl) { |