Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4961)

Unified Diff: chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/popup.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698