Index: chrome/test/data/extensions/api_test/stubs_app/background.js |
diff --git a/chrome/test/data/extensions/api_test/stubs_app/background.js b/chrome/test/data/extensions/api_test/stubs_app/background.js |
index 50b729c3e8fe3edb72fced88ef2730994ce66c43..32ae43446fabc2dbd2d8d010b97fbd03bb6c46b7 100644 |
--- a/chrome/test/data/extensions/api_test/stubs_app/background.js |
+++ b/chrome/test/data/extensions/api_test/stubs_app/background.js |
@@ -22,8 +22,7 @@ |
[module.functions, module.events].forEach(function(section) { |
if (typeof(section) == "undefined") |
return; |
- // Pieces of the module don't inherit from Array/Object. |
- Array.prototype.forEach.call(section, function(entry) { |
+ section.forEach(function(entry) { |
apiPaths.push(namespace + "." + entry.name); |
}); |
}); |