Index: chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js b/chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js |
index fc0ef93c14d61849cb8e8fd0c668907aca83adc6..08744ef904c9aa2bc6d2584df300e2355a248efd 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js |
+++ b/chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js |
@@ -1,12 +1,10 @@ |
-/* |
- * Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
- * source code is governed by a BSD-style license that can be found in the |
- * LICENSE file. |
- */ |
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
var additionalInfo = { |
"title": document.title, |
"selection": window.getSelection().toString() |
}; |
-chrome.extension.connect().postMessage(additionalInfo); |
+chrome.runtime.connect().postMessage(additionalInfo); |