Index: chrome/renderer/extensions/miscellaneous_bindings.cc |
diff --git a/chrome/renderer/extensions/miscellaneous_bindings.cc b/chrome/renderer/extensions/miscellaneous_bindings.cc |
index 18a6c2ca36b757ac9a276d03e6e8e8beccfd2d9c..deb9c45ce234309bd748e5e0231d94fa06751896 100644 |
--- a/chrome/renderer/extensions/miscellaneous_bindings.cc |
+++ b/chrome/renderer/extensions/miscellaneous_bindings.cc |
@@ -26,7 +26,7 @@ |
// Message passing API example (in a content script): |
// var extension = |
// new chrome.Extension('00123456789abcdef0123456789abcdef0123456'); |
-// var port = extension.connect(); |
+// var port = runtime.connect(); |
// port.postMessage('Can you hear me now?'); |
// port.onmessage.addListener(function(msg, port) { |
// alert('response=' + msg); |