diff options
author | claireho <chinglanho@gmail.com> | 2011-10-18 13:28:09 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-18 13:28:09 -0700 |
commit | 35f6049abf3249c63fa0da5f814b63ccd03115de (patch) | |
tree | aea6fd911a7747c08d4207bccc09d7660b8a6da4 /Source/WebCore/platform/graphics/android/VerticalTextMap.cpp | |
parent | ff5c8a747577c62ebfecfb18013d2744a3eb73e7 (diff) | |
parent | 8e5d85b1ff1ced0fdf8c01083a14b63d35ee4515 (diff) | |
download | external_webkit-35f6049abf3249c63fa0da5f814b63ccd03115de.zip external_webkit-35f6049abf3249c63fa0da5f814b63ccd03115de.tar.gz external_webkit-35f6049abf3249c63fa0da5f814b63ccd03115de.tar.bz2 |
Merge "Changed VerticalTextMap class to meet webkit coding style."
Diffstat (limited to 'Source/WebCore/platform/graphics/android/VerticalTextMap.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/VerticalTextMap.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp b/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp index 2bb008f..6e715e2 100644 --- a/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp +++ b/Source/WebCore/platform/graphics/android/VerticalTextMap.cpp @@ -24,6 +24,7 @@ * SUCH DAMAGE. */ +#include "config.h" #include "VerticalTextMap.h" #include <wtf/Forward.h> @@ -81,16 +82,14 @@ static const UChar vTextCnvTable[][2] = { // {0xff61, 0xfe12}, // halfwidth ideo full stop }; -using namespace android; - namespace WebCore { -static WTF::Mutex m_verticalTextHashMapMutex; +static WTF::Mutex verticalTextHashMapMutex; static HashMap<UChar, UChar>* verticalTextHashMap = 0; UChar VerticalTextMap::getVerticalForm(UChar c) { { - MutexLocker lock(m_verticalTextHashMapMutex); + MutexLocker lock(verticalTextHashMapMutex); if (!verticalTextHashMap) { // Lazy initialization. verticalTextHashMap = new HashMap<UChar, UChar>; |