зеркало из 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
|
* @param NONE
|
||||||
* @return A boolean which states how the pump terminated
|
* @return A boolean which states how the pump terminated
|
||||||
*/
|
*/
|
||||||
PRBool
|
void nsMacMessagePump::DoMessagePump()
|
||||||
nsMacMessagePump::DoMessagePump()
|
|
||||||
{
|
{
|
||||||
Boolean haveEvent;
|
Boolean haveEvent;
|
||||||
EventRecord theEvent;
|
EventRecord theEvent;
|
||||||
|
@ -175,8 +174,6 @@ nsMacMessagePump::DoMessagePump()
|
||||||
if (mRunning)
|
if (mRunning)
|
||||||
Repeater::DoRepeaters(theEvent);
|
Repeater::DoRepeaters(theEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK; // a PR_BOOL? Should be PR_TRUE or PR_FALSE. Which is unclear
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
|
|
@ -59,7 +59,7 @@ public:
|
||||||
nsMacMessagePump(nsToolkit *aToolKit, nsMacMessageSink* aSink);
|
nsMacMessagePump(nsToolkit *aToolKit, nsMacMessageSink* aSink);
|
||||||
virtual ~nsMacMessagePump();
|
virtual ~nsMacMessagePump();
|
||||||
|
|
||||||
PRBool DoMessagePump();
|
void DoMessagePump();
|
||||||
void StopRunning() {mRunning = PR_FALSE;}
|
void StopRunning() {mRunning = PR_FALSE;}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче