From b83811097b970281b641d3859566b0c22a21c36b Mon Sep 17 00:00:00 2001 From: Doug Turner Date: Sun, 1 Aug 2010 23:38:10 -0700 Subject: [PATCH] Follow up fix to bug 516728. Fixes assertion description and removing an extra ws --- toolkit/components/places/src/History.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/toolkit/components/places/src/History.cpp b/toolkit/components/places/src/History.cpp index 3b5061d172f..44b82037d65 100644 --- a/toolkit/components/places/src/History.cpp +++ b/toolkit/components/places/src/History.cpp @@ -1179,13 +1179,12 @@ History::RegisterVisitedCallback(nsIURI* aURI, NS_ASSERTION(aURI, "Must pass a non-null URI!"); #ifdef MOZ_IPC if (XRE_GetProcessType() == GeckoProcessType_Content) { - NS_PRECONDITION(aLink, "Must pass a non-null URI!"); + NS_PRECONDITION(aLink, "Must pass a non-null Link!"); } #else - NS_PRECONDITION(aLink, "Must pass a non-null URI!"); + NS_PRECONDITION(aLink, "Must pass a non-null Link!"); #endif - // First, ensure that our hash table is setup. if (!mObservers.IsInitialized()) { NS_ENSURE_TRUE(mObservers.Init(), NS_ERROR_OUT_OF_MEMORY);