From ddfdfc0a31cff29d1edf0721ed60068e7a87c6b9 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Thu, 31 May 2012 10:32:17 +1000 Subject: [PATCH] Fix a couple of typos in comments. No bug, no review. --- browser/components/search/content/search.xml | 2 +- xpcom/glue/nsTArray.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/search/content/search.xml b/browser/components/search/content/search.xml index 9a1d174c271..45d10a36283 100644 --- a/browser/components/search/content/search.xml +++ b/browser/components/search/content/search.xml @@ -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; diff --git a/xpcom/glue/nsTArray.h b/xpcom/glue/nsTArray.h index 06006378598..93708b0196d 100644 --- a/xpcom/glue/nsTArray.h +++ b/xpcom/glue/nsTArray.h @@ -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 elem_type *InsertElementSorted(const Item& item) { return InsertElementSorted(item, nsDefaultComparator());