Title: [87369] trunk/Source/_javascript_Core
Revision
87369
Author
[email protected]
Date
2011-05-26 01:08:32 -0700 (Thu, 26 May 2011)

Log Message

2011-05-26  Patrick Gansterer  <[email protected]>

        Reviewed by Adam Barth.

        ASSERT(isMainThread()) when using single threaded jsc executable
        https://bugs.webkit.org/show_bug.cgi?id=60846

        Remove the ASSERT since we do not have the concept of MainThread in JSC.

        * wtf/CryptographicallyRandomNumber.cpp:
        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomNumber):
        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomValues):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (87368 => 87369)


--- trunk/Source/_javascript_Core/ChangeLog	2011-05-26 07:59:44 UTC (rev 87368)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-05-26 08:08:32 UTC (rev 87369)
@@ -1,3 +1,16 @@
+2011-05-26  Patrick Gansterer  <[email protected]>
+
+        Reviewed by Adam Barth.
+
+        ASSERT(isMainThread()) when using single threaded jsc executable
+        https://bugs.webkit.org/show_bug.cgi?id=60846
+
+        Remove the ASSERT since we do not have the concept of MainThread in JSC.
+
+        * wtf/CryptographicallyRandomNumber.cpp:
+        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomNumber):
+        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomValues):
+
 2011-05-25  Gavin Barraclough  <[email protected]>
 
         Reviewed by Sam Weinig.

Modified: trunk/Source/_javascript_Core/wtf/CryptographicallyRandomNumber.cpp (87368 => 87369)


--- trunk/Source/_javascript_Core/wtf/CryptographicallyRandomNumber.cpp	2011-05-26 07:59:44 UTC (rev 87368)
+++ trunk/Source/_javascript_Core/wtf/CryptographicallyRandomNumber.cpp	2011-05-26 08:08:32 UTC (rev 87369)
@@ -142,8 +142,6 @@
 {
 #if ENABLE(WTF_MULTIPLE_THREADS)
     MutexLocker locker(m_mutex);
-#else
-    ASSERT(isMainThread());
 #endif
 
     m_count -= 4;
@@ -155,8 +153,6 @@
 {
 #if ENABLE(WTF_MULTIPLE_THREADS)
     MutexLocker locker(m_mutex);
-#else
-    ASSERT(isMainThread());
 #endif
 
     unsigned char* result = reinterpret_cast<unsigned char*>(buffer);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to