diff options
Diffstat (limited to 'common/modules/finder.jsm')
-rw-r--r-- | common/modules/finder.jsm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/modules/finder.jsm b/common/modules/finder.jsm index a0d88aeb..fc99f31f 100644 --- a/common/modules/finder.jsm +++ b/common/modules/finder.jsm @@ -339,10 +339,10 @@ var RangeFinder = Module("rangefinder", { */ var RangeFind = Class("RangeFind", { init: function init(window, content, matchCase, backward, elementPath, regexp) { - this.window = Cu.getWeakReference(window); + this.window = util.weakReference(window); this.content = content; - this.baseDocument = Cu.getWeakReference(this.content.document); + this.baseDocument = util.weakReference(this.content.document); this.elementPath = elementPath || null; this.reverse = Boolean(backward); @@ -381,7 +381,7 @@ var RangeFind = Class("RangeFind", { this.range.selectionController.scrollSelectionIntoView( this.range.selectionController.SELECTION_NORMAL, 0, false); - this.store.focusedFrame = Cu.getWeakReference(range.startContainer.ownerDocument.defaultView); + this.store.focusedFrame = util.weakReference(range.startContainer.ownerDocument.defaultView); }, cancel: function cancel() { |