Index: ui/file_manager/file_manager/background/js/test_util.js |
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js |
index 25ca7b6cfd7328e1fc03107f835bc3adae742c3f..08ea431369ac4dd2377df40331e6517ff68442d2 100644 |
--- a/ui/file_manager/file_manager/background/js/test_util.js |
+++ b/ui/file_manager/file_manager/background/js/test_util.js |
@@ -280,19 +280,6 @@ test.util.sync.getExecutedTasks = function(contentWindow) { |
}; |
/** |
- * Invoke chrome.fileManagerPrivate.visitDesktop(profileId) to cause window |
- * teleportation. |
- * |
- * @param {Window} contentWindow Window to be tested. |
- * @param {string} profileId Destination profile's ID. |
- * @return {boolean} Always return true. |
- */ |
-test.util.sync.visitDesktop = function(contentWindow, profileId) { |
- contentWindow.chrome.fileManagerPrivate.visitDesktop(profileId); |
- return true; |
-}; |
- |
-/** |
* Runs the 'Move to profileId' menu. |
* |
* @param {Window} contentWindow Window to be tested. |