Fix silly stack overflow due to a botched method renaming in the previous check-in.
authorJason Orendorff <jorendorff@mozilla.com>
Fri, 22 Apr 2011 14:28:23 -0500
changeset 74391 3b6fd34ed3e2c77614f580a3b7e0bfdd4394f3d3
parent 74390 3a24a9c046e5f6af5d28e2f3074aa4264151e6ab
child 74392 edd7fb5c83a03f18cb3844d319e6752d57262d81
child 74393 2e77e2f5bc9057c4965a9462c4310befb2569f98
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
milestone6.0a1
Fix silly stack overflow due to a botched method renaming in the previous check-in.
js/src/jsdbg.cpp
--- a/js/src/jsdbg.cpp
+++ b/js/src/jsdbg.cpp
@@ -238,17 +238,17 @@ Debug::dispatchDebuggerStatement(JSConte
         }
     }
 
     // Deliver the event to each debugger, checking again to make sure it
     // should still be delivered.
     for (Value *p = triggered.begin(); p != triggered.end(); p++) {
         Debug *dbg = Debug::fromJSObject(&p->toObject());
         if (dbg->observesCompartment(compartment) && dbg->observesDebuggerStatement()) {
-            JSTrapStatus st = dbg->onDebuggerStatement(cx, vp);
+            JSTrapStatus st = dbg->handleDebuggerStatement(cx, vp);
             if (st != JSTRAP_CONTINUE)
                 return st;
         }
     }
     return JSTRAP_CONTINUE;
 }