diff --git a/xpfe/components/urlbarhistory/src/nsUrlbarHistory.cpp b/xpfe/components/urlbarhistory/src/nsUrlbarHistory.cpp index 37269c63132..977bc36508f 100644 --- a/xpfe/components/urlbarhistory/src/nsUrlbarHistory.cpp +++ b/xpfe/components/urlbarhistory/src/nsUrlbarHistory.cpp @@ -116,7 +116,7 @@ nsUrlbarHistory::ClearHistory() nsCOMPtr entries; nsresult rv = mDataSource->GetTargets(kNC_URLBARHISTORY, kNC_CHILD, - true, + PR_TRUE, getter_AddRefs(entries)); NS_ENSURE_TRUE(entries, NS_ERROR_FAILURE); @@ -153,7 +153,7 @@ nsUrlbarHistory::GetCount(PRInt32 * aResult) nsCOMPtr entries; nsresult rv = mDataSource->GetTargets(kNC_URLBARHISTORY, kNC_CHILD, - true, + PR_TRUE, getter_AddRefs(entries)); NS_ENSURE_TRUE(entries, NS_ERROR_FAILURE); @@ -353,7 +353,7 @@ nsUrlbarHistory::SearchCache(const PRUnichar* searchStr, nsIAutoCompleteResults* rv = mDataSource->GetTargets(kNC_URLBARHISTORY, kNC_CHILD, - true, + PR_TRUE, getter_AddRefs(entries)); NS_ENSURE_TRUE(entries, NS_ERROR_FAILURE);