Index: chrome/test/data/extensions/api_test/executescript/in_frame/script.js |
diff --git a/chrome/test/data/extensions/api_test/executescript/in_frame/script.js b/chrome/test/data/extensions/api_test/executescript/in_frame/script.js |
index a4efa64bbe0883d68a30ee63d828ca0caa594bec..59555b3ce19daac9aecaf896e5718bc198399930 100644 |
--- a/chrome/test/data/extensions/api_test/executescript/in_frame/script.js |
+++ b/chrome/test/data/extensions/api_test/executescript/in_frame/script.js |
@@ -1,3 +1,7 @@ |
+// Copyright (c) 2013 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. |
+ |
function getStyle(elem, name) { |
if (document.defaultView && document.defaultView.getComputedStyle) { |
name = name.toLowerCase(); |
@@ -15,5 +19,5 @@ function getStyle(elem, name) { |
var bElement = document.getElementById('test2'); |
var display = getStyle(bElement, 'display').toLowerCase(); |
-var extensionPort = chrome.extension.connect(); |
+var extensionPort = chrome.runtime.connect(); |
extensionPort.postMessage({message: display}); |