BUILD FIX (r151663): Fix build for iOS WebKit
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jun 2013 17:33:01 +0000 (17:33 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jun 2013 17:33:01 +0000 (17:33 +0000)
* wtf/text/AtomicStringTable.cpp: Include MainThread.h.
(WTF::AtomicStringTable::create): Use AtomicStringTable::destroy
instead of non-existent destroyAtomicStringTable function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/text/AtomicStringTable.cpp

index ae3817e0a29a5f935421f70a477ffa53b8a5d0d7..f8e3ff840d3f56bb8c69e2ffe9d8658f8d51cf45 100644 (file)
@@ -1,3 +1,11 @@
+2013-06-19  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX (r151663): Fix build for iOS WebKit
+
+        * wtf/text/AtomicStringTable.cpp: Include MainThread.h.
+        (WTF::AtomicStringTable::create): Use AtomicStringTable::destroy
+        instead of non-existent destroyAtomicStringTable function.
+
 2013-06-18  Roger Fong  <roger_fong@apple.com>
 
         Replace tools32 folder with tools and update WebKit Windows solution accordingly.
index fa1aa7973fcaff3c1d50bc345700d8a07c861ca0..d961b17e255451fe8f14ffdbe586741eb923671d 100644 (file)
@@ -24,6 +24,7 @@
 #include "AtomicStringTable.h"
 
 #include <wtf/HashSet.h>
+#include <wtf/MainThread.h>
 #include <wtf/WTFThreadData.h>
 
 namespace WTF {
@@ -43,7 +44,7 @@ void AtomicStringTable::create(WTFThreadData& data)
     // We do the following so that its destruction happens only
     // once - on the main UI thread.
     if (!currentThreadIsWebThread)
-        data.m_atomicStringTableDestructor = destroyAtomicStringTable;
+        data.m_atomicStringTableDestructor = AtomicStringTable::destroy;
 #else
     data.m_atomicStringTable = new AtomicStringTable;
     data.m_atomicStringTableDestructor = AtomicStringTable::destroy;