From c2e18373abe83d2e1cb6117ce96200e488a4c822 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 21 Jun 2009 12:07:03 -0400 Subject: [PATCH] Don't use Cc in common/content/help.js; it's not defined there. --- common/content/help.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/content/help.js b/common/content/help.js index 5a17c0c1..10bf0414 100644 --- a/common/content/help.js +++ b/common/content/help.js @@ -1,5 +1,7 @@ -const win = Cc["@mozilla.org/embedcomp/window-watcher;1"].getService(Ci.nsIWindowWatcher).activeWindow; +const win = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] + .getService(Ci.nsIWindowWatcher) + .activeWindow; const liberator = win.liberator; let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));