Ignore:
Timestamp:
Jul 6, 2008, 7:49:29 PM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2008-07-06 Sam Weinig <[email protected]>

Reviewed by Cameron Zwarich.

Second step in broad cleanup effort.

[ File list elided ]

WebCore:

2008-07-06 Sam Weinig <[email protected]>

Reviewed by Cameron Zwarich.

Add #include for kjs/protect.h.

  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::loadRequestAsynchronously):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/StringObject.h

    r34861 r35027  
    2727namespace KJS {
    2828
    29   class StringObject : public JSWrapperObject {
    30   public:
    31     StringObject(ExecState*, JSObject* prototype);
    32     StringObject(ExecState*, JSObject* prototype, const UString&);
     29    class StringObject : public JSWrapperObject {
     30    public:
     31        StringObject(ExecState*, JSObject* prototype);
     32        StringObject(ExecState*, JSObject* prototype, const UString&);
    3333
    34     static StringObject* create(ExecState*, JSString*);
     34        static StringObject* create(ExecState*, JSString*);
    3535
    36     virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
    37     virtual bool getOwnPropertySlot(ExecState*, unsigned propertyName, PropertySlot&);
     36        virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);
     37        virtual bool getOwnPropertySlot(ExecState*, unsigned propertyName, PropertySlot&);
    3838
    39     virtual void put(ExecState* exec, const Identifier& propertyName, JSValue*);
    40     virtual bool deleteProperty(ExecState*, const Identifier& propertyName);
    41     virtual void getPropertyNames(ExecState*, PropertyNameArray&);
     39        virtual void put(ExecState* exec, const Identifier& propertyName, JSValue*);
     40        virtual bool deleteProperty(ExecState*, const Identifier& propertyName);
     41        virtual void getPropertyNames(ExecState*, PropertyNameArray&);
    4242
    43     virtual const ClassInfo* classInfo() const { return &info; }
    44     static const ClassInfo info;
     43        virtual const ClassInfo* classInfo() const { return &info; }
     44        static const ClassInfo info;
    4545
    46     JSString* internalValue() const { return static_cast<JSString*>(JSWrapperObject::internalValue());}
     46        JSString* internalValue() const { return static_cast<JSString*>(JSWrapperObject::internalValue());}
    4747
    48   protected:
    49     StringObject(JSObject* prototype, JSString*);
     48    protected:
     49        StringObject(JSObject* prototype, JSString*);
    5050
    51   private:
    52     virtual UString toString(ExecState*) const;
    53     virtual UString toThisString(ExecState*) const;
    54     virtual JSString* toThisJSString(ExecState*);
     51    private:
     52        virtual UString toString(ExecState*) const;
     53        virtual UString toThisString(ExecState*) const;
     54        virtual JSString* toThisJSString(ExecState*);
    5555  };
    5656
Note: See TracChangeset for help on using the changeset viewer.