followup for bug 376109, fix compile of mac carbon code. r=me, dead code.
authorjoshmoz@gmail.com
Wed, 18 Apr 2007 09:50:21 -0700
changeset 623 853fa8ebae316d9fddbc91c24a2ccc79d6a78ebf
parent 622 809726f3b680c5b1ab02e707f19dd0a64ac20e48
child 624 2de413d9b1b2dbfb9ace95e72f153d05e9b8beaf
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, dead
bugs376109
milestone1.9a4pre
followup for bug 376109, fix compile of mac carbon code. r=me, dead code.
widget/src/mac/nsAppShell.cpp
--- a/widget/src/mac/nsAppShell.cpp
+++ b/widget/src/mac/nsAppShell.cpp
@@ -209,16 +209,16 @@ nsAppShell::ProcessGeckoEvents(void* aIn
                                  kEventAttributeNone, &bogusEvent);
     if (err == noErr) {
       ::PostEventToQueue(::GetMainEventQueue(), bogusEvent,
                          kEventPriorityStandard);
       ::ReleaseEvent(bogusEvent);
     }
   }
 
-  if (mSuspendNativeCount <= 0) {
-    NativeEventCallback();
+  if (self->mSuspendNativeCount <= 0) {
+    self->NativeEventCallback();
   } else {
-    mSkippedNativeCallback = PR_TRUE;
+    self->mSkippedNativeCallback = PR_TRUE;
   }
 
   NS_RELEASE(self);
 }