Title: [163306] releases/WebKitGTK/webkit-2.4/Source/WebCore
- Revision
- 163306
- Author
- [email protected]
- Date
- 2014-02-03 06:38:28 -0800 (Mon, 03 Feb 2014)
Log Message
Merge r163174 - Don't allocate a new XMLHttpRequestStaticData every time staticData() is called
https://bugs.webkit.org/show_bug.cgi?id=127996
Reviewed by Andreas Kling.
std::once_flag should be static.
* xml/XMLHttpRequest.cpp:
(WebCore::staticData):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog (163305 => 163306)
--- releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog 2014-02-03 14:34:28 UTC (rev 163305)
+++ releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog 2014-02-03 14:38:28 UTC (rev 163306)
@@ -1,3 +1,15 @@
+2014-01-31 Anders Carlsson <[email protected]>
+
+ Don't allocate a new XMLHttpRequestStaticData every time staticData() is called
+ https://bugs.webkit.org/show_bug.cgi?id=127996
+
+ Reviewed by Andreas Kling.
+
+ std::once_flag should be static.
+
+ * xml/XMLHttpRequest.cpp:
+ (WebCore::staticData):
+
2014-01-30 Csaba Osztrogonác <[email protected]>
[SOUP] Fix the build if !ENABLE(WEB_TIMING)
Modified: releases/WebKitGTK/webkit-2.4/Source/WebCore/xml/XMLHttpRequest.cpp (163305 => 163306)
--- releases/WebKitGTK/webkit-2.4/Source/WebCore/xml/XMLHttpRequest.cpp 2014-02-03 14:34:28 UTC (rev 163305)
+++ releases/WebKitGTK/webkit-2.4/Source/WebCore/xml/XMLHttpRequest.cpp 2014-02-03 14:38:28 UTC (rev 163306)
@@ -120,7 +120,7 @@
static const XMLHttpRequestStaticData& staticData()
{
- std::once_flag onceFlag;
+ static std::once_flag onceFlag;
static const XMLHttpRequestStaticData* staticData;
std::call_once(onceFlag, [] {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes