[or-cvs] [torbutton/master] Kill missing property warn in the window mapper.
mikeperry at seul.org
mikeperry at seul.org
Thu Dec 17 05:39:09 UTC 2009
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Tue, 15 Dec 2009 11:29:14 -0800
Subject: Kill missing property warn in the window mapper.
Commit: 5733ab9d30201fde9831895d63291847bab5c104
Why did I ever create that "bah" entry anyways, I wonder..
---
src/components/window-mapper.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/components/window-mapper.js b/src/components/window-mapper.js
index b43f109..58e503a 100644
--- a/src/components/window-mapper.js
+++ b/src/components/window-mapper.js
@@ -21,8 +21,7 @@ const nsIComponentRegistrar = Components.interfaces.nsIComponentRegistrar;
const nsIObserverService = Components.interfaces.nsIObserverService;
function ContentWindowMapper() {
- this.cache = new Object();
- this.cache["bah"] = 0;
+ this.cache = {};
this.logger = Components.classes["@torproject.org/torbutton-logger;1"]
.getService(Components.interfaces.nsISupports).wrappedJSObject;
--
1.5.6.5
More information about the tor-commits
mailing list