Changeset 158082 in webkit


Ignore:
Timestamp:
Oct 26, 2013 12:16:50 AM (11 years ago)
Author:
mitz@apple.com
Message:

[Cocoa] clang static analyzer warns about object being autoreleased too many times in +[WKNSArray web_arrayWithImmutableArray:]
https://bugs.webkit.org/show_bug.cgi?id=123384

Reviewed by Mark Rowe.

  • Shared/Cocoa/WKNSArray.h: Annotated -web_initWithImmutableArray: as an init method.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r158081 r158082  
     12013-10-26  Dan Bernstein  <mitz@apple.com>
     2
     3        [Cocoa] clang static analyzer warns about object being autoreleased too many times in +[WKNSArray web_arrayWithImmutableArray:]
     4        https://bugs.webkit.org/show_bug.cgi?id=123384
     5
     6        Reviewed by Mark Rowe.
     7
     8        * Shared/Cocoa/WKNSArray.h: Annotated -web_initWithImmutableArray: as an init method.
     9
    1102013-10-25  Csaba Osztrogonác  <ossy@webkit.org>
    211
  • trunk/Source/WebKit2/Shared/Cocoa/WKNSArray.h

    r157748 r158082  
    3636+ (id)web_arrayWithImmutableArray:(WebKit::ImmutableArray&)array;
    3737
    38 - (id)web_initWithImmutableArray:(WebKit::ImmutableArray&)array;
     38- (id)web_initWithImmutableArray:(WebKit::ImmutableArray&)array NS_REPLACES_RECEIVER;
    3939
    4040@end
Note: See TracChangeset for help on using the changeset viewer.