Index: chrome/common/extensions/docs/examples/extensions/benchmark/background.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/background.js b/chrome/common/extensions/docs/examples/extensions/benchmark/background.js |
index 1d11a94f361df400f965dbd75cbf2ad0e79a8ca1..06915ea29b7623eefad5bdbda256964a56ef612b 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/benchmark/background.js |
+++ b/chrome/common/extensions/docs/examples/extensions/benchmark/background.js |
@@ -412,7 +412,7 @@ function Benchmark() { |
}; |
} |
-chrome.extension.onConnect.addListener(function(port) { |
+chrome.runtime.onConnect.addListener(function(port) { |
port.onMessage.addListener(function(data) { |
if (data.message == "load") { |
var benchmark = findBenchmark(data.url); |