Index: ui/file_manager/video_player/js/background.js |
diff --git a/ui/file_manager/video_player/js/background.js b/ui/file_manager/video_player/js/background.js |
index 3d87206264e439aa73e3f7eed803505f91aea8a1..201088440a9555f2dc0c4fd8cb36544f561c05ec 100644 |
--- a/ui/file_manager/video_player/js/background.js |
+++ b/ui/file_manager/video_player/js/background.js |
@@ -132,7 +132,7 @@ function openVideoPlayerWindow(playlist, reopen) { |
appWindow.contentWindow.loadMockCastExtensionForTest = true; |
videoPlayer.setIcon(ICON_IMAGE); |
- AppWindowWrapper.focusOnDesktop(appWindow); |
+ appWindow.focus(); |
return windowId; |
}.wrap()).catch(function(error) { |