Title: [111096] trunk/Source/WebCore
Revision
111096
Author
[email protected]
Date
2012-03-16 17:27:49 -0700 (Fri, 16 Mar 2012)

Log Message

Use modern NSNumberFormatter API in LocalizedNumberMac.mm
https://bugs.webkit.org/show_bug.cgi?id=81429

Reviewed by Dan Bernstein.

No new tests as no change in behavior.

* platform/text/mac/LocalizedNumberMac.mm:
(WebCore::createFormatterForCurrentLocaleForDisplay):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111095 => 111096)


--- trunk/Source/WebCore/ChangeLog	2012-03-17 00:19:11 UTC (rev 111095)
+++ trunk/Source/WebCore/ChangeLog	2012-03-17 00:27:49 UTC (rev 111096)
@@ -1,3 +1,15 @@
+2012-03-16  Matt Lilek  <[email protected]>
+
+        Use modern NSNumberFormatter API in LocalizedNumberMac.mm
+        https://bugs.webkit.org/show_bug.cgi?id=81429
+
+        Reviewed by Dan Bernstein.
+
+        No new tests as no change in behavior.
+
+        * platform/text/mac/LocalizedNumberMac.mm:
+        (WebCore::createFormatterForCurrentLocaleForDisplay):
+
 2012-03-16  Tony Chang  <[email protected]>
 
         flex-item-align: stretch should only grow, never shrink

Modified: trunk/Source/WebCore/platform/text/mac/LocalizedNumberMac.mm (111095 => 111096)


--- trunk/Source/WebCore/platform/text/mac/LocalizedNumberMac.mm	2012-03-17 00:19:11 UTC (rev 111095)
+++ trunk/Source/WebCore/platform/text/mac/LocalizedNumberMac.mm	2012-03-17 00:27:49 UTC (rev 111096)
@@ -54,7 +54,7 @@
 static RetainPtr<NSNumberFormatter> createFormatterForCurrentLocaleForDisplay()
 {
     RetainPtr<NSNumberFormatter> formatter = createFormatterForCurrentLocale();
-    [formatter.get() setHasThousandSeparators:NO];
+    [formatter.get() setUsesGroupingSeparator:NO];
     return formatter;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to