Bug 57715 - Explicitly use icu namespace for ports building with U_USING_ICU_NAMESPACE=0
Summary: Explicitly use icu namespace for ports building with U_USING_ICU_NAMESPACE=0
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nico Weber
URL:
Keywords:
: 57714 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-02 18:16 PDT by Nico Weber
Modified: 2011-04-03 22:12 PDT (History)
4 users (show)

See Also:


Attachments
Patch (3.29 KB, patch)
2011-04-02 18:17 PDT, Nico Weber
no flags Details | Formatted Diff | Diff
Patch (3.26 KB, patch)
2011-04-02 18:46 PDT, Nico Weber
no flags Details | Formatted Diff | Diff
Patch (3.58 KB, patch)
2011-04-02 20:49 PDT, Nico Weber
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Weber 2011-04-02 18:16:20 PDT
Expclicitly use icu namespace for ports building with U_USING_ICU_NAMESPACE=0
Comment 1 Nico Weber 2011-04-02 18:17:28 PDT
Created attachment 87991 [details]
Patch
Comment 2 Nico Weber 2011-04-02 18:46:02 PDT
Created attachment 87993 [details]
Patch
Comment 3 Adam Barth 2011-04-02 20:16:15 PDT
Comment on attachment 87993 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=87993&action=review

> Source/WebCore/ChangeLog:12
> +        Expclicitly use icu namespace for ports building with U_USING_ICU_NAMESPACE=0
> +        https://bugs.webkit.org/show_bug.cgi?id=57715
> +
> +        * platform/text/LocalizedNumberICU.cpp:
> +        (WebCore::createFormatterForCurrentLocale):
> +        (WebCore::numberFormatter):
> +        (WebCore::parseLocalizedNumber):
> +        (WebCore::formatLocalizedNumber):

This ChangeLog doesn't tell me why you're making this change.  I have no idea.
Comment 4 Nico Weber 2011-04-02 20:49:06 PDT
Created attachment 87994 [details]
Patch
Comment 5 WebKit Commit Bot 2011-04-02 21:55:23 PDT
Comment on attachment 87994 [details]
Patch

Clearing flags on attachment: 87994

Committed r82787: <http://trac.webkit.org/changeset/82787>
Comment 6 WebKit Commit Bot 2011-04-02 21:55:28 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Alexey Proskuryakov 2011-04-03 21:49:56 PDT
*** Bug 57714 has been marked as a duplicate of this bug. ***
Comment 8 Alexey Proskuryakov 2011-04-03 21:52:07 PDT
We don't normally use namespace prefixes in .cpp files, we put using directives in the beginning (e.g. "using namespace std;").
Comment 9 Nico Weber 2011-04-03 22:12:51 PDT
whoopsies: https://bugs.webkit.org/show_bug.cgi?id=57742