Title: [121010] trunk/Source/WTF
Revision
121010
Author
[email protected]
Date
2012-06-22 01:06:08 -0700 (Fri, 22 Jun 2012)

Log Message

Memory corruption on HashTable.h
https://bugs.webkit.org/show_bug.cgi?id=88419

Reviewed by Martin Robinson.

Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (121009 => 121010)


--- trunk/Source/WTF/ChangeLog	2012-06-22 07:16:53 UTC (rev 121009)
+++ trunk/Source/WTF/ChangeLog	2012-06-22 08:06:08 UTC (rev 121010)
@@ -1,3 +1,15 @@
+2012-06-22  Mario Sanchez Prada  <[email protected]>
+
+        Memory corruption on HashTable.h
+        https://bugs.webkit.org/show_bug.cgi?id=88419
+
+        Reviewed by Martin Robinson.
+
+        Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
+        for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
+
+        * wtf/Platform.h:
+
 2012-06-21  Parth Patel  <[email protected]>
 
         [Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons

Modified: trunk/Source/WTF/wtf/Platform.h (121009 => 121010)


--- trunk/Source/WTF/wtf/Platform.h	2012-06-22 07:16:53 UTC (rev 121009)
+++ trunk/Source/WTF/wtf/Platform.h	2012-06-22 08:06:08 UTC (rev 121010)
@@ -648,15 +648,10 @@
 #endif
 #endif
 
-#if PLATFORM(GTK)
-#if HAVE(PTHREAD_H)
+#if OS(UNIX) && (PLATFORM(GTK) || PLATFORM(QT))
 #define WTF_USE_PTHREADS 1
 #define HAVE_PTHREAD_RWLOCK 1
 #endif
-#elif PLATFORM(QT) && OS(UNIX)
-#define WTF_USE_PTHREADS 1
-#define HAVE_PTHREAD_RWLOCK 1
-#endif
 
 #if !defined(HAVE_ACCESSIBILITY)
 #if PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) && !OS(ANDROID))
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to