Removed usage of the deprecated critical section constructor in system_wrappers.
Review URL: http://webrtc-codereview.appspot.com/322004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1208 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/src/system_wrappers/interface/static_instance.h b/src/system_wrappers/interface/static_instance.h
index 1e37e71..8fe91cc 100644
--- a/src/system_wrappers/interface/static_instance.h
+++ b/src/system_wrappers/interface/static_instance.h
@@ -47,7 +47,7 @@
   // reachable from statics leaked so no noise is added by doing this.
   static CriticalSectionWrapper* crit_sect(
       CriticalSectionWrapper::CreateCriticalSection());
-  CriticalSectionScoped lock(*crit_sect);
+  CriticalSectionScoped lock(crit_sect);
 
   if (count_operation ==
       kAddRefNoCreate && instance_count == 0) {