зеркало из https://github.com/mozilla/pjs.git
DoMessagePump() no longer returns a boolean
This commit is contained in:
Родитель
c08c9cac97
Коммит
fc7abd29e2
|
@ -93,8 +93,7 @@ nsMacMessagePump::~nsMacMessagePump()
|
|||
* @param NONE
|
||||
* @return A boolean which states how the pump terminated
|
||||
*/
|
||||
PRBool
|
||||
nsMacMessagePump::DoMessagePump()
|
||||
void nsMacMessagePump::DoMessagePump()
|
||||
{
|
||||
Boolean haveEvent;
|
||||
EventRecord theEvent;
|
||||
|
@ -175,8 +174,6 @@ nsMacMessagePump::DoMessagePump()
|
|||
if (mRunning)
|
||||
Repeater::DoRepeaters(theEvent);
|
||||
}
|
||||
|
||||
return NS_OK; // a PR_BOOL? Should be PR_TRUE or PR_FALSE. Which is unclear
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
nsMacMessagePump(nsToolkit *aToolKit, nsMacMessageSink* aSink);
|
||||
virtual ~nsMacMessagePump();
|
||||
|
||||
PRBool DoMessagePump();
|
||||
void DoMessagePump();
|
||||
void StopRunning() {mRunning = PR_FALSE;}
|
||||
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче