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 |