Index: chrome/browser/resources/file_manager/js/metadata/metadata_dispatcher.js |
diff --git a/chrome/browser/resources/file_manager/js/metadata/metadata_dispatcher.js b/chrome/browser/resources/file_manager/js/metadata/metadata_dispatcher.js |
index a6f2d957da637893592be58703ce27b916506b1a..270282f2b88290c8ea47dd993a88be6b45ad4324 100644 |
--- a/chrome/browser/resources/file_manager/js/metadata/metadata_dispatcher.js |
+++ b/chrome/browser/resources/file_manager/js/metadata/metadata_dispatcher.js |
@@ -214,10 +214,7 @@ MetadataDispatcher.prototype.processOneFile = function(fileURL, callback) { |
// the 'this' keyword in lambdas. |
var global = self; |
-// TODO(cdumez): Remove support for SharedWorkerContext name after Blink is |
-// rolled. |
-if (global.constructor.name == 'SharedWorkerContext' || |
- global.constructor.name == 'SharedWorkerGlobalScope') { |
+if (global.constructor.name == 'SharedWorkerGlobalScope') { |
global.addEventListener('connect', function(e) { |
var port = e.ports[0]; |
new MetadataDispatcher(port); |