Index: ppapi/proxy/ppb_core_proxy.cc |
diff --git a/ppapi/proxy/ppb_core_proxy.cc b/ppapi/proxy/ppb_core_proxy.cc |
index c01eb4532542bbf60a57a52ddea47668341662bc..842ed860649c940548d0c0eceacb09005fb8b8a6 100644 |
--- a/ppapi/proxy/ppb_core_proxy.cc |
+++ b/ppapi/proxy/ppb_core_proxy.cc |
@@ -28,8 +28,8 @@ namespace proxy { |
namespace { |
base::MessageLoopProxy* GetMainThreadMessageLoop() { |
- static scoped_refptr<base::MessageLoopProxy> proxy( |
- base::MessageLoopProxy::current()); |
+ CR_DEFINE_STATIC_LOCAL(scoped_refptr<base::MessageLoopProxy>, proxy, |
+ (base::MessageLoopProxy::current())); |
return proxy.get(); |
} |