diff options
author | claireho <chinglanho@gmail.com> | 2011-10-17 17:41:52 -0700 |
---|---|---|
committer | claireho <chinglanho@gmail.com> | 2011-10-18 10:49:25 -0700 |
commit | 8e5d85b1ff1ced0fdf8c01083a14b63d35ee4515 (patch) | |
tree | 401f0265839e52206fa785cc35844c69881b310e /Source/WebCore/platform/graphics/android/VerticalTextMap.cpp | |
parent | 2b708bc49715a3512379f1f7f1dd31d6a26eeb1a (diff) | |
download | external_webkit-8e5d85b1ff1ced0fdf8c01083a14b63d35ee4515.zip external_webkit-8e5d85b1ff1ced0fdf8c01083a14b63d35ee4515.tar.gz external_webkit-8e5d85b1ff1ced0fdf8c01083a14b63d35ee4515.tar.bz2 |
Changed VerticalTextMap class to meet webkit coding style.
Bug 5094208 : VerticalWring mode support for Books Japan.
Changed VerticalTextMap class to meet webkit coding style for
https://android-git.corp.google.com/g/#/c/141357/.
Change-Id: Ifce9968702b7ebe6d7a7da563645ec7d5e639438
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>; |