зеркало из https://github.com/mozilla/gecko-dev.git
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
This commit is contained in:
Родитель
b925eedced
Коммит
0013bd4f42
|
@ -39,7 +39,7 @@
|
|||
#include "inSearchLoop.h"
|
||||
|
||||
#include "nsITimer.h"
|
||||
|
||||
#include "nsIServiceManager.h"
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
inSearchLoop::inSearchLoop(inISearchProcess* aSearchProcess)
|
||||
|
@ -59,7 +59,7 @@ inSearchLoop::~inSearchLoop()
|
|||
nsresult
|
||||
inSearchLoop::Start()
|
||||
{
|
||||
mTimer->Init(inSearchLoop::TimerCallback, (void*)this, 0, PR_TRUE, NS_TYPE_REPEATING_SLACK);
|
||||
mTimer->InitWithFuncCallback(inSearchLoop::TimerCallback, (void*)this, 0, nsITimer::TYPE_REPEATING_SLACK);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#ifndef __inSearchLoop_h__
|
||||
#define __inSearchLoop_h__
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsITimer.h"
|
||||
#include "inISearchProcess.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче