Title: [155082] trunk/Source/WebKit/mac
Revision
155082
Author
[email protected]
Date
2013-09-04 17:49:56 -0700 (Wed, 04 Sep 2013)

Log Message

<https://webkit.org/b/120707> Make WebKit's localizable strings mechanism usable under ARC

WebKit's localizable strings mechanism is also used outside of WebKit so it needs to work
both with and without ARC.

Reviewed by Anders Carlsson.

* Misc/WebLocalizableStrings.h: Mark the bundle member as unretained. This matches how the
member is used within WebLocalizableStrings.mm.

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (155081 => 155082)


--- trunk/Source/WebKit/mac/ChangeLog	2013-09-05 00:40:15 UTC (rev 155081)
+++ trunk/Source/WebKit/mac/ChangeLog	2013-09-05 00:49:56 UTC (rev 155082)
@@ -1,3 +1,15 @@
+2013-09-04  Mark Rowe  <[email protected]>
+
+        <https://webkit.org/b/120707> Make WebKit's localizable strings mechanism usable under ARC
+
+        WebKit's localizable strings mechanism is also used outside of WebKit so it needs to work
+        both with and without ARC.
+
+        Reviewed by Anders Carlsson.
+
+        * Misc/WebLocalizableStrings.h: Mark the bundle member as unretained. This matches how the
+        member is used within WebLocalizableStrings.mm.
+
 2013-09-02  Darin Adler  <[email protected]>
 
         [Mac] No need for HardAutorelease, which is same as CFBridgingRelease

Modified: trunk/Source/WebKit/mac/Misc/WebLocalizableStrings.h (155081 => 155082)


--- trunk/Source/WebKit/mac/Misc/WebLocalizableStrings.h	2013-09-05 00:40:15 UTC (rev 155081)
+++ trunk/Source/WebKit/mac/Misc/WebLocalizableStrings.h	2013-09-05 00:49:56 UTC (rev 155082)
@@ -36,7 +36,7 @@
 
 typedef struct {
     const char *identifier;
-    NSBundle *bundle;
+    __unsafe_unretained NSBundle *bundle;
 } WebLocalizableStringsBundle;
 
 #ifdef __cplusplus
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to