Fix a couple of typos in comments. No bug, no review.

This commit is contained in:
Cameron McCormack 2012-05-31 10:32:17 +10:00
parent b302bf1a2f
commit ddfdfc0a31
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@
os.removeObserver(this, "browser-search-engine-modified");
}
// Make sure to break the cycle from _texbox to us. Otherwise we leak
// Make sure to break the cycle from _textbox to us. Otherwise we leak
// the world. But make sure it's actually pointing to us.
if (this._textbox.mController.input == this)
this._textbox.mController.input = null;

View File

@ -851,7 +851,7 @@ public:
return InsertElementAt(index, item);
}
// A variation on the InsertElementSorted metod defined above.
// A variation on the InsertElementSorted method defined above.
template<class Item>
elem_type *InsertElementSorted(const Item& item) {
return InsertElementSorted(item, nsDefaultComparator<elem_type, Item>());