Index: ppapi/proxy/ppb_font_proxy.cc |
diff --git a/ppapi/proxy/ppb_font_proxy.cc b/ppapi/proxy/ppb_font_proxy.cc |
index 424f255ba5425ccdace29826bee361e23a671d06..111d89d01a82733228eb1d95a3ba13b40d4a72d3 100644 |
--- a/ppapi/proxy/ppb_font_proxy.cc |
+++ b/ppapi/proxy/ppb_font_proxy.cc |
@@ -59,7 +59,7 @@ PP_Var PPB_Font_Proxy::GetFontFamilies(PP_Instance instance) { |
return PP_MakeUndefined(); |
// Assume the font families don't change, so we can cache the result globally. |
- static std::string families; |
+ CR_DEFINE_STATIC_LOCAL(std::string, families, ()); |
if (families.empty()) { |
dispatcher->SendToBrowser( |
new PpapiHostMsg_PPBFont_GetFontFamilies(&families)); |