Title: [158082] trunk/Source/WebKit2
Revision
158082
Author
m...@apple.com
Date
2013-10-26 00:16:50 -0700 (Sat, 26 Oct 2013)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (158081 => 158082)


--- trunk/Source/WebKit2/ChangeLog	2013-10-26 06:37:23 UTC (rev 158081)
+++ trunk/Source/WebKit2/ChangeLog	2013-10-26 07:16:50 UTC (rev 158082)
@@ -1,3 +1,12 @@
+2013-10-26  Dan Bernstein  <m...@apple.com>
+
+        [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.
+
 2013-10-25  Csaba Osztrogonác  <o...@webkit.org>
 
         Fix the ENABLE(CSS_FILTERS) && USE(COORDINATED_GRAPHICS) build after r157803

Modified: trunk/Source/WebKit2/Shared/Cocoa/WKNSArray.h (158081 => 158082)


--- trunk/Source/WebKit2/Shared/Cocoa/WKNSArray.h	2013-10-26 06:37:23 UTC (rev 158081)
+++ trunk/Source/WebKit2/Shared/Cocoa/WKNSArray.h	2013-10-26 07:16:50 UTC (rev 158082)
@@ -35,7 +35,7 @@
 
 + (id)web_arrayWithImmutableArray:(WebKit::ImmutableArray&)array;
 
-- (id)web_initWithImmutableArray:(WebKit::ImmutableArray&)array;
+- (id)web_initWithImmutableArray:(WebKit::ImmutableArray&)array NS_REPLACES_RECEIVER;
 
 @end
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to