зеркало из https://github.com/mozilla/gecko-dev.git
120623: remove printfs. r=bzbarsky r,a=blizzard
This commit is contained in:
Родитель
d20f634134
Коммит
eed65c3fbe
|
@ -278,7 +278,6 @@ nsresult nsFind::InitIterator()
|
|||
if (NS_FAILED(rv))
|
||||
SetRangeAroundDocument();
|
||||
}
|
||||
else printf("Range was already initialized\n");
|
||||
|
||||
mIterator->Init(mRange);
|
||||
if (mFindBackward) {
|
||||
|
|
|
@ -96,11 +96,9 @@ NS_IMETHODIMP nsWebBrowserFind::FindNext(PRBool *outDidFind)
|
|||
gUseTextServices = PR_TRUE;
|
||||
nsCOMPtr<nsIPref> prefService = do_GetService(kPrefServiceCID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && prefService) {
|
||||
printf("Got the pref service\n");
|
||||
PRBool newFind = PR_FALSE;
|
||||
prefService->GetBoolPref("browser.new_find", &newFind);
|
||||
gUseTextServices = !newFind;
|
||||
printf("Got the pref: newFind = %d, useText = %d\n", newFind, gUseTextServices);
|
||||
}
|
||||
#endif /* TEXT_SVCS_TEST */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче