Ignore:
Timestamp:
Nov 27, 2008, 9:03:46 PM (16 years ago)
Author:
[email protected]
Message:

2008-11-27 Cameron Zwarich <[email protected]>

Not reviewed.

r38825 made JSFunction::m_body private, but some inspector code in
WebCore sets the field. Add setters for it, and update the inspector
code to use the new getters and setters.

JavaScriptCore:

  • runtime/JSFunction.h: (JSC::JSFunction::setBody):

WebCore:

  • inspector/JavaScriptDebugServer.cpp: (WebCore::JavaScriptDebugServer::recompileAllJSFunctions):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSFunction.h

    r38825 r38826  
    6464        ScopeChain& scope() { return m_scopeChain; }
    6565
     66        void setBody(FunctionBodyNode* body) { m_body = body; }
     67        void setBody(PassRefPtr<FunctionBodyNode> body) { m_body = body; }
    6668        FunctionBodyNode* body() const { return m_body.get(); }
    6769
Note: See TracChangeset for help on using the changeset viewer.