Title: [195244] trunk/Source/WebCore
Revision
195244
Author
[email protected]
Date
2016-01-18 19:28:24 -0800 (Mon, 18 Jan 2016)

Log Message

[iOS Simulator WK1] ASSERT loading Blink layout test imported/web-platform-tests/mediacapture-streams/stream-api/mediastream/mediastream-idl.html
https://bugs.webkit.org/show_bug.cgi?id=153070
<rdar://problem/24183105>

Reviewed by Darin Adler.

No new tests, this prevents an existing test from crashing.

* platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::MockRealtimeVideoSource::MockRealtimeVideoSource): Create the timer with RunLoop::current
  instead of RunLoop::main.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (195243 => 195244)


--- trunk/Source/WebCore/ChangeLog	2016-01-19 02:56:34 UTC (rev 195243)
+++ trunk/Source/WebCore/ChangeLog	2016-01-19 03:28:24 UTC (rev 195244)
@@ -1,3 +1,17 @@
+2016-01-18  Eric Carlson  <[email protected]>
+
+        [iOS Simulator WK1] ASSERT loading Blink layout test imported/web-platform-tests/mediacapture-streams/stream-api/mediastream/mediastream-idl.html
+        https://bugs.webkit.org/show_bug.cgi?id=153070
+        <rdar://problem/24183105>
+
+        Reviewed by Darin Adler.
+
+        No new tests, this prevents an existing test from crashing.
+
+        * platform/mock/MockRealtimeVideoSource.cpp:
+        (WebCore::MockRealtimeVideoSource::MockRealtimeVideoSource): Create the timer with RunLoop::current
+          instead of RunLoop::main.
+
 2016-01-18  Gyuyoung Kim  <[email protected]>
 
         Reduce PassRefPtr uses in dom - 3

Modified: trunk/Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp (195243 => 195244)


--- trunk/Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp	2016-01-19 02:56:34 UTC (rev 195243)
+++ trunk/Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp	2016-01-19 03:28:24 UTC (rev 195244)
@@ -57,7 +57,7 @@
 
 MockRealtimeVideoSource::MockRealtimeVideoSource()
     : MockRealtimeMediaSource(createCanonicalUUIDString(), RealtimeMediaSource::Video, mockVideoSourceName())
-    , m_timer(RunLoop::main(), this, &MockRealtimeVideoSource::generateFrame)
+    , m_timer(RunLoop::current(), this, &MockRealtimeVideoSource::generateFrame)
 {
     m_dashWidths.reserveInitialCapacity(2);
     m_dashWidths.uncheckedAppend(6);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to