Changeset 28101 in webkit


Ignore:
Timestamp:
Nov 27, 2007 9:54:53 PM (16 years ago)
Author:
mjs@apple.com
Message:

Not reviewed.

Fix DumpRenderTree ObjC bug comparing strings.

  • DumpRenderTree/mac/ObjCController.m: (-[ObjCController identityIsEqual::]): Compare strings with string equality instead of identiy equality.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r28094 r28101  
     12007-11-27  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Not reviewed.
     4
     5        Fix DumpRenderTree ObjC bug comparing strings.
     6
     7        * DumpRenderTree/mac/ObjCController.m:
     8        (-[ObjCController identityIsEqual::]): Compare strings with string
     9        equality instead of identiy equality.
     10
    1112007-11-27  Timothy Hatcher  <timothy@apple.com>
    212
  • trunk/WebKitTools/DumpRenderTree/mac/ObjCController.m

    r28030 r28101  
    101101- (BOOL)identityIsEqual:(WebScriptObject *)a :(WebScriptObject *)b
    102102{
     103    if ([a isKindOfClass:[NSString class]] && [b isKindOfClass:[NSString class]])
     104        return [(NSString *)a isEqualToString:(NSString *)b];
    103105    return a == b;
    104106}
Note: See TracChangeset for help on using the changeset viewer.