Commit 8d298bb2 authored by ggaren's avatar ggaren

- Build fix after last JSC check-in (oops!)

        
        * bridge/mac/WebCoreScriptDebugger.mm:
        (-[WebCoreScriptCallFrame scopeChain]):
        (-[WebCoreScriptCallFrame functionName]):
        (-[WebCoreScriptCallFrame evaluateWebScript:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fd7c1022
2006-06-09 Geoffrey Garen <ggaren@apple.com>
- Build fix after last JSC check-in (oops!)
* bridge/mac/WebCoreScriptDebugger.mm:
(-[WebCoreScriptCallFrame scopeChain]):
(-[WebCoreScriptCallFrame functionName]):
(-[WebCoreScriptCallFrame evaluateWebScript:]):
2006-06-09 David Hyatt <hyatt@apple.com>
Rename m_isFocused on the frame to m_isActive, since it isn't really
......
......@@ -257,7 +257,7 @@ class WebCoreScriptDebuggerImp : public KJS::Debugger {
- (NSArray *)scopeChain
{
ContextImp *context = _state->context().imp();
Context* context = _state->context();
if (!context) { // global frame
return [NSArray arrayWithObject:_globalObj];
......@@ -282,7 +282,7 @@ class WebCoreScriptDebuggerImp : public KJS::Debugger {
- (NSString *)functionName
{
ContextImp *context = _state->context().imp();
Context* context = _state->context();
if (context) {
FunctionImp *func = context->function();
......@@ -320,7 +320,7 @@ class WebCoreScriptDebuggerImp : public KJS::Debugger {
// find "eval"
JSObject *eval = NULL;
if (state->context().imp()) { // "eval" won't work without context (i.e. at global scope)
if (state->context()) { // "eval" won't work without context (i.e. at global scope)
JSValue *v = globObj->get(state, "eval");
if (v->isObject() && static_cast<JSObject *>(v)->implementsCall())
eval = static_cast<JSObject *>(v);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment