Index: chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js b/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js |
index 1f0bf06c60c204441f08a602fa7b7197eb3ef6a1..30b80853b1d1f5ac6469a32ee9dd2b85b0c3dd8d 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js |
+++ b/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js |
@@ -190,7 +190,7 @@ function addOutlineStyleListeners() { |
function load() { |
try { |
- port = chrome.extension.connect(); |
+ port = chrome.runtime.connect(); |
port.onMessage.addListener(function(msg) { |
if (msg.cmd == 'anim') { |
displayAlarmAnimation(); |