Build fix for bug 506125.
authorAndreas Gal <gal@mozilla.com>
Tue, 18 Aug 2009 17:14:34 -0700
changeset 31887 0398f87956e0379be3a47563c542fc93035f5a5f
parent 31886 6585e85bdbcdf41ce8d7922cacb300dd9130bb94
child 31888 7d788206e2ae7d98e462dab72c99061565f44e8d
push idunknown
push userunknown
push dateunknown
bugs506125
milestone1.9.3a1pre
Build fix for bug 506125.
js/src/xpconnect/shell/xpcshell.cpp
--- a/js/src/xpconnect/shell/xpcshell.cpp
+++ b/js/src/xpconnect/shell/xpcshell.cpp
@@ -167,17 +167,17 @@ EnableWatchdog(JSContext *cx)
     gWatchdogContext = cx;
 
     if (gTimerHandle)
         return;
 
     if (!CreateTimerQueueTimer(&gTimerHandle,
                                NULL,
                                (WAITORTIMERCALLBACK)TimerCallback,
-                               rt,
+                               cx->runtime,
                                DWORD(1000),
                                0,
                                WT_EXECUTEINTIMERTHREAD | WT_EXECUTEONLYONCE))
         gTimerHandle = 0;
 }
 
 static void
 DisableWatchdog()