Title: [233821] trunk/Source/WebCore
Revision
233821
Author
[email protected]
Date
2018-07-13 15:33:35 -0700 (Fri, 13 Jul 2018)

Log Message

Add release assertion to check thread in TimerBase::setNextFireTime
https://bugs.webkit.org/show_bug.cgi?id=187666

Reviewed by Ryosuke Niwa.

This should give us insight into what is causing <rdar://problem/33352721>
        
* platform/Timer.cpp:
(WebCore::TimerBase::setNextFireTime):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (233820 => 233821)


--- trunk/Source/WebCore/ChangeLog	2018-07-13 22:27:30 UTC (rev 233820)
+++ trunk/Source/WebCore/ChangeLog	2018-07-13 22:33:35 UTC (rev 233821)
@@ -1,3 +1,15 @@
+2018-07-13  Alex Christensen  <[email protected]>
+
+        Add release assertion to check thread in TimerBase::setNextFireTime
+        https://bugs.webkit.org/show_bug.cgi?id=187666
+
+        Reviewed by Ryosuke Niwa.
+
+        This should give us insight into what is causing <rdar://problem/33352721>
+        
+        * platform/Timer.cpp:
+        (WebCore::TimerBase::setNextFireTime):
+
 2018-07-13  Ryosuke Niwa  <[email protected]>
 
         [iOS] [WK1] Crash inside IOSurfacePool::platformGarbageCollectNow() in WebThread

Modified: trunk/Source/WebCore/platform/Timer.cpp (233820 => 233821)


--- trunk/Source/WebCore/platform/Timer.cpp	2018-07-13 22:27:30 UTC (rev 233820)
+++ trunk/Source/WebCore/platform/Timer.cpp	2018-07-13 22:33:35 UTC (rev 233821)
@@ -357,7 +357,7 @@
 
 void TimerBase::setNextFireTime(MonotonicTime newTime)
 {
-    ASSERT(canAccessThreadLocalDataForThread(m_thread.get()));
+    RELEASE_ASSERT(canAccessThreadLocalDataForThread(m_thread.get()));
     RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(!m_wasDeleted);
 
     if (m_unalignedNextFireTime != newTime)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to