Title: [122201] trunk/Source/WebCore
Revision
122201
Author
[email protected]
Date
2012-07-10 00:38:58 -0700 (Tue, 10 Jul 2012)

Log Message

[Chromium-Mac] Form related layout tests cause timeout
https://bugs.webkit.org/show_bug.cgi?id=90851

Reviewed by Kent Tamura.

This patch changed to pass a valid argument to LocaleMac
constructor.

No new tests. No more timeout in tests listed in the bug.

* platform/text/mac/LocaleMac.mm:
(WebCore::LocaleMac::currentLocale): Changed to pass local identifier string
instead of NSLocale object.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (122200 => 122201)


--- trunk/Source/WebCore/ChangeLog	2012-07-10 07:31:13 UTC (rev 122200)
+++ trunk/Source/WebCore/ChangeLog	2012-07-10 07:38:58 UTC (rev 122201)
@@ -1,3 +1,19 @@
+2012-07-10  Yoshifumi Inoue  <[email protected]>
+
+        [Chromium-Mac] Form related layout tests cause timeout
+        https://bugs.webkit.org/show_bug.cgi?id=90851
+
+        Reviewed by Kent Tamura.
+
+        This patch changed to pass a valid argument to LocaleMac
+        constructor.
+
+        No new tests. No more timeout in tests listed in the bug.
+
+        * platform/text/mac/LocaleMac.mm:
+        (WebCore::LocaleMac::currentLocale): Changed to pass local identifier string
+        instead of NSLocale object.
+
 2012-07-10  Yuta Kitamura  <[email protected]>
 
         WebSocket: Remove hixie76 protocol implementation

Modified: trunk/Source/WebCore/platform/text/mac/LocaleMac.mm (122200 => 122201)


--- trunk/Source/WebCore/platform/text/mac/LocaleMac.mm	2012-07-10 07:31:13 UTC (rev 122200)
+++ trunk/Source/WebCore/platform/text/mac/LocaleMac.mm	2012-07-10 07:38:58 UTC (rev 122201)
@@ -71,7 +71,7 @@
 
 LocaleMac* LocaleMac::currentLocale()
 {
-    static LocaleMac* currentLocale = LocaleMac::create([NSLocale currentLocale]).leakPtr();
+    static LocaleMac* currentLocale = LocaleMac::create([[NSLocale currentLocale] localeIdentifier]).leakPtr();
     return currentLocale;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to