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

Unified Diff: chrome/common/extensions/docs/examples/extensions/email_this_page/background.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/email_this_page/background.js
diff --git a/chrome/common/extensions/docs/examples/extensions/email_this_page/background.js b/chrome/common/extensions/docs/examples/extensions/email_this_page/background.js
index a0fd3c3ed2c0db59ce3d813eab40b53dd2f32725..a16ef808346d55b06ebfff4a755f3138ae497cb8 100644
--- a/chrome/common/extensions/docs/examples/extensions/email_this_page/background.js
+++ b/chrome/common/extensions/docs/examples/extensions/email_this_page/background.js
@@ -42,7 +42,7 @@ function executeMailto(tab_id, subject, body, selection) {
}
}
-chrome.extension.onConnect.addListener(function(port) {
+chrome.runtime.onConnect.addListener(function(port) {
var tab = port.sender.tab;
// This will get called by the content script we execute in

Powered by Google App Engine
This is Rietveld 408576698