Skip to content
Permalink
Browse files
[GTK][WebRTC] Stop warning with so much verbosity about not implement…
…ed RealtimeMediaSourceCenter

https://bugs.webkit.org/show_bug.cgi?id=180694

Reviewed by Youenn Fablet.

No new tests -- no change in functionality.

* platform/mediastream/RealtimeMediaSourceCenter.cpp:
(WebCore::RealtimeMediaSourceCenter::singleton):

Canonical link: https://commits.webkit.org/196598@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
clopez committed Dec 12, 2017
1 parent df7a7da commit 5271a5b181abfd44be55da36c5bc4c41e5f2ad98
Showing 2 changed files with 13 additions and 1 deletion.
@@ -1,3 +1,15 @@
2017-12-12 Carlos Alberto Lopez Perez <clopez@igalia.com>

[GTK][WebRTC] Stop warning with so much verbosity about not implemented RealtimeMediaSourceCenter
https://bugs.webkit.org/show_bug.cgi?id=180694

Reviewed by Youenn Fablet.

No new tests -- no change in functionality.

* platform/mediastream/RealtimeMediaSourceCenter.cpp:
(WebCore::RealtimeMediaSourceCenter::singleton):

2017-12-12 Ms2ger <Ms2ger@igalia.com>

Implement {DOMMimeTypeArray, DOMPluginArray}::supportedPropertyNames().
@@ -65,8 +65,8 @@ RealtimeMediaSourceCenter& RealtimeMediaSourceCenter::singleton()
if (override)
return *override;
#if PLATFORM(GTK)
WTFLogAlways("WebKitGTK LIBWEBRTC RealtimeMediaSourceCenter NOT IMPLEMENTED. Returning MockRealtimeMediaSourceCenter instead to avoid crash!\n");
ASSERT(isMainThread());
notImplemented(); // Return MockRealtimeMediaSourceCenter to avoid crash.
static NeverDestroyed<MockRealtimeMediaSourceCenter> center;
return center;
#else

0 comments on commit 5271a5b

Please sign in to comment.