Unreviewed, rolling out r189079.
[WebKit-https.git] / Source / JavaScriptCore / debugger / Debugger.cpp
index c6f14a9..3538372 100644 (file)
@@ -227,7 +227,7 @@ void Debugger::registerCodeBlock(CodeBlock* codeBlock)
 
 void Debugger::toggleBreakpoint(CodeBlock* codeBlock, Breakpoint& breakpoint, BreakpointState enabledOrNot)
 {
-    ScriptExecutable* executable = codeBlock->ownerScriptExecutable();
+    ScriptExecutable* executable = codeBlock->ownerExecutable();
 
     SourceID sourceID = static_cast<SourceID>(executable->sourceID());
     if (breakpoint.sourceID != sourceID)