Changeset 122201 in webkit


Ignore:
Timestamp:
Jul 10, 2012 12:38:58 AM (12 years ago)
Author:
yosin@chromium.org
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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r122199 r122201  
     12012-07-10  Yoshifumi Inoue  <yosin@chromium.org>
     2
     3        [Chromium-Mac] Form related layout tests cause timeout
     4        https://bugs.webkit.org/show_bug.cgi?id=90851
     5
     6        Reviewed by Kent Tamura.
     7
     8        This patch changed to pass a valid argument to LocaleMac
     9        constructor.
     10
     11        No new tests. No more timeout in tests listed in the bug.
     12
     13        * platform/text/mac/LocaleMac.mm:
     14        (WebCore::LocaleMac::currentLocale): Changed to pass local identifier string
     15        instead of NSLocale object.
     16
    1172012-07-10  Yuta Kitamura  <yutak@chromium.org>
    218
  • trunk/Source/WebCore/platform/text/mac/LocaleMac.mm

    r122190 r122201  
    7272LocaleMac* LocaleMac::currentLocale()
    7373{
    74     static LocaleMac* currentLocale = LocaleMac::create([NSLocale currentLocale]).leakPtr();
     74    static LocaleMac* currentLocale = LocaleMac::create([[NSLocale currentLocale] localeIdentifier]).leakPtr();
    7575    return currentLocale;
    7676}
Note: See TracChangeset for help on using the changeset viewer.