Index: chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/background.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/background.js b/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/background.js |
index ae94ff81ebd2f86664d1bd805ba32622944273cf..38c5917d99307c5348b3931ef42f63ab4fd0b069 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/background.js |
+++ b/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/background.js |
@@ -114,7 +114,7 @@ function onLocalStorageChange() { |
function initBackground() { |
window.addEventListener('storage', onLocalStorageChange, false); |
- chrome.extension.onConnect.addListener(function(popupPort) { |
+ chrome.runtime.onConnect.addListener(function(popupPort) { |
port = popupPort; |
port.onDisconnect.addListener(function() { |
port = null; |