Title: [163174] trunk/Source/WebCore
- Revision
- 163174
- Author
- [email protected]
- Date
- 2014-01-31 09:36:37 -0800 (Fri, 31 Jan 2014)
Log Message
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: trunk/Source/WebCore/ChangeLog (163173 => 163174)
--- trunk/Source/WebCore/ChangeLog 2014-01-31 17:26:46 UTC (rev 163173)
+++ trunk/Source/WebCore/ChangeLog 2014-01-31 17:36:37 UTC (rev 163174)
@@ -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-31 Zalan Bujtas <[email protected]>
Subpixel rendering: Change RenderBoxModelObject's border functions' signature to support subpixel border painting.
Modified: trunk/Source/WebCore/xml/XMLHttpRequest.cpp (163173 => 163174)
--- trunk/Source/WebCore/xml/XMLHttpRequest.cpp 2014-01-31 17:26:46 UTC (rev 163173)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.cpp 2014-01-31 17:36:37 UTC (rev 163174)
@@ -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