In FontCacheAndroid.cpp should keep the pointer valid returned from CString::data()
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2011 19:21:45 +0000 (19:21 +0000)
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2011 19:21:45 +0000 (19:21 +0000)
commit3cfdf73a1c6f7dcdcf5db41372c44108e2b12ef3
tree59a1c8ca2d9f7b3f87881f07ff3acde5433ee108
parent272e2129143a0c4409ae65fedc4e6053198d5fb3
In FontCacheAndroid.cpp should keep the pointer valid returned from CString::data()
https://bugs.webkit.org/show_bug.cgi?id=73849

The changed code has been covered by many existing layout tests.

Reviewed by Adam Barth.

* platform/graphics/chromium/FontCacheAndroid.cpp:
(WebCore::FontCache::createFontPlatformData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/FontCacheAndroid.cpp