Title: [188822] trunk/Source/WTF
Revision
188822
Author
[email protected]
Date
2015-08-22 10:14:22 -0700 (Sat, 22 Aug 2015)

Log Message

std::once_flag needs to be static.

* wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
(WTF::MainThreadFunctionTracker::singleton):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (188821 => 188822)


--- trunk/Source/WTF/ChangeLog	2015-08-22 13:38:01 UTC (rev 188821)
+++ trunk/Source/WTF/ChangeLog	2015-08-22 17:14:22 UTC (rev 188822)
@@ -1,3 +1,10 @@
+2015-08-22  Anders Carlsson  <[email protected]>
+
+        std::once_flag needs to be static.
+
+        * wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
+        (WTF::MainThreadFunctionTracker::singleton):
+
 2015-08-21  Anders Carlsson  <[email protected]>
 
         Build fix.

Modified: trunk/Source/WTF/wtf/mac/DeprecatedSymbolsUsedBySafari.mm (188821 => 188822)


--- trunk/Source/WTF/wtf/mac/DeprecatedSymbolsUsedBySafari.mm	2015-08-22 13:38:01 UTC (rev 188821)
+++ trunk/Source/WTF/wtf/mac/DeprecatedSymbolsUsedBySafari.mm	2015-08-22 17:14:22 UTC (rev 188822)
@@ -70,7 +70,7 @@
 public:
     static MainThreadFunctionTracker& singleton()
     {
-        std::once_flag onceFlag;
+        static std::once_flag onceFlag;
 
         static LazyNeverDestroyed<MainThreadFunctionTracker> tracker;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to