From d660d1551fc6cc5759ad638d75cb09b0e9d6324a Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Thu, 6 Sep 2007 22:06:23 +0000 Subject: [PATCH] bug 115473 r=pavlov sr=brendan Remove timer priorities git-svn-id: svn://10.0.0.236/trunk@235258 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/browser/src/nsInternetSearchService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/suite/browser/src/nsInternetSearchService.cpp b/mozilla/suite/browser/src/nsInternetSearchService.cpp index 3e04a07aea8..2971592e114 100755 --- a/mozilla/suite/browser/src/nsInternetSearchService.cpp +++ b/mozilla/suite/browser/src/nsInternetSearchService.cpp @@ -721,7 +721,7 @@ else search->mTimer = do_CreateInstance("@mozilla.org/timer;1", &rv); if (NS_FAILED(rv) || (!search->mTimer)) return; search->mTimer->Init(InternetSearchDataSource::FireTimer, search, - SEARCH_UPDATE_TIMEOUT, NS_PRIORITY_LOWEST, NS_TYPE_REPEATING_SLACK); + SEARCH_UPDATE_TIMEOUT, PR_TRUE, NS_TYPE_REPEATING_SLACK); // Note: don't addref "this" as we'll cancel the timer in the InternetSearchDataSource destructor #endif } @@ -924,7 +924,7 @@ InternetSearchDataSource::Init() if (mTimer) { mTimer->Init(InternetSearchDataSource::FireTimer, this, - SEARCH_UPDATE_TIMEOUT, NS_PRIORITY_LOWEST, NS_TYPE_REPEATING_SLACK); + SEARCH_UPDATE_TIMEOUT, PR_TRUE, NS_TYPE_REPEATING_SLACK); // Note: don't addref "this" as we'll cancel the timer in the // InternetSearchDataSource destructor }