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);