Mutex protect SkFontMgr_DirectWrite cache.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 4 Oct 2013 17:00:35 +0000 (17:00 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 4 Oct 2013 17:00:35 +0000 (17:00 +0000)
commit86dd752bd5c42352b7acb05551070da8d609c563
tree194bfc8fab3866a5e587d5668667c14b1aca6426
parent86490573b5cba554a27637e22485455a7b133de7
Mutex protect SkFontMgr_DirectWrite cache.

SkFontMgr_DirectWrite is constant, except for its typeface cache.
Protect this cache in the face of multiple threads.

R=robertphillips@google.com

Review URL: https://codereview.chromium.org/26023002

git-svn-id: http://skia.googlecode.com/svn/trunk@11615 2bbb7eff-a529-9590-31e7-b0007b416f81
src/ports/SkFontHost_win_dw.cpp