Changeset 1869 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Aug 19, 2002, 2:14:02 PM (23 years ago)
Author:
mjs
Message:

Fixed the bug that made sony.com menus come out wrong and made
aa.com crash (Radar 3027762).

Mode most methods inline.

  • kjs/completion.cpp:
  • kjs/completion.h:
Location:
trunk/JavaScriptCore/kjs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/completion.cpp

    r1859 r1869  
    3333{
    3434}
    35 
    36 ComplType Completion::complType() const
    37 {
    38   return comp;
    39 }
    40 
    41 Value Completion::value() const
    42 {
    43   return val;
    44 }
    45 
    46 UString Completion::target() const
    47 {
    48   return tar;
    49 }
    50 
    51 bool Completion::isValueCompletion() const
    52 {
    53   return val.isNull();
    54 }
  • trunk/JavaScriptCore/kjs/completion.h

    r1861 r1869  
    5050               const UString &t = UString::null);
    5151
    52     ComplType complType() const;
    53     Value value() const;
    54     UString target() const;
    55     bool isValueCompletion() const;
     52    ComplType complType() const { return comp; }
     53    Value value() const { return val; }
     54    UString target() const { return tar; }
     55    bool isValueCompletion() const { return !val.isNull(); }
    5656  private:
    5757    ComplType comp;
Note: See TracChangeset for help on using the changeset viewer.