Title: [141819] trunk/Source/WTF
- Revision
- 141819
- Author
- [email protected]
- Date
- 2013-02-04 15:01:03 -0800 (Mon, 04 Feb 2013)
Log Message
Build fix for AtomicString on iOS
Unreviewed. The commit r141812 rely on isUIThread(), there is no such things
in the tree right now. Use pthread_main_np() until more thread handling is upstreamed.
Patch by Benjamin Poulain <[email protected]> on 2013-02-04
* wtf/text/AtomicString.cpp:
(WTF::AtomicStringTable::create):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (141818 => 141819)
--- trunk/Source/WTF/ChangeLog 2013-02-04 22:49:08 UTC (rev 141818)
+++ trunk/Source/WTF/ChangeLog 2013-02-04 23:01:03 UTC (rev 141819)
@@ -1,3 +1,13 @@
+2013-02-04 Benjamin Poulain <[email protected]>
+
+ Build fix for AtomicString on iOS
+
+ Unreviewed. The commit r141812 rely on isUIThread(), there is no such things
+ in the tree right now. Use pthread_main_np() until more thread handling is upstreamed.
+
+ * wtf/text/AtomicString.cpp:
+ (WTF::AtomicStringTable::create):
+
2013-02-04 Abhishek Arya <[email protected]>
Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
Modified: trunk/Source/WTF/wtf/text/AtomicString.cpp (141818 => 141819)
--- trunk/Source/WTF/wtf/text/AtomicString.cpp 2013-02-04 22:49:08 UTC (rev 141818)
+++ trunk/Source/WTF/wtf/text/AtomicString.cpp 2013-02-04 23:01:03 UTC (rev 141819)
@@ -74,7 +74,7 @@
static AtomicStringTable* sharedStringTable = new AtomicStringTable;
bool currentThreadIsWebThread = isWebThread();
- if (currentThreadIsWebThread || isUIThread())
+ if (currentThreadIsWebThread || pthread_main_np())
data.m_atomicStringTable = sharedStringTable;
else
data.m_atomicStringTable = new AtomicStringTable;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes