Move some code of LocalizedNumberICU.cpp to ICULocale.cpp
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 08:20:38 +0000 (08:20 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 08:20:38 +0000 (08:20 +0000)
commit5284a78eaa5143c9f5e1a467589dbacb6c962b97
tree533cf4d65b8e410b8fbc1677278ef8ec8c97927e
parent125293f972def4b7793fe2a08321bc1d4780eff5
Move some code of LocalizedNumberICU.cpp to ICULocale.cpp
https://bugs.webkit.org/show_bug.cgi?id=84128

Reviewed by Hajime Morita.

No new tests. No behavior change.

* WebCore.gypi: Add ICULocale.cpp
* platform/text/ICULocale.cpp:
Added. Move some code from LocalizedNumberICU.cpp
* platform/text/ICULocale.h:
(ICULocale): Add currentLocale().
* platform/text/LocalizedNumberICU.cpp:
(WebCore::convertToLocalizedNumber): Use ICULocale::currentLocale().
(WebCore::convertFromLocalizedNumber): ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.gypi
Source/WebCore/platform/text/ICULocale.cpp [new file with mode: 0644]
Source/WebCore/platform/text/ICULocale.h
Source/WebCore/platform/text/LocalizedNumberICU.cpp