Title: [244517] trunk/Source/WebCore
Revision
244517
Author
[email protected]
Date
2019-04-22 15:29:38 -0700 (Mon, 22 Apr 2019)

Log Message

Update libwebrtc logging when WebCore WebRTC logging is updated
https://bugs.webkit.org/show_bug.cgi?id=197166
<rdar://problem/50107696>

Unreviewed.

Build fix after https://trac.webkit.org/changeset/244511.


* page/Page.cpp:
(WebCore::Page::configureLoggingChannel):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (244516 => 244517)


--- trunk/Source/WebCore/ChangeLog	2019-04-22 22:17:22 UTC (rev 244516)
+++ trunk/Source/WebCore/ChangeLog	2019-04-22 22:29:38 UTC (rev 244517)
@@ -1,5 +1,18 @@
 2019-04-22  Youenn Fablet  <[email protected]>
 
+        Update libwebrtc logging when WebCore WebRTC logging is updated
+        https://bugs.webkit.org/show_bug.cgi?id=197166
+        <rdar://problem/50107696>
+
+        Unreviewed.
+
+        Build fix after https://trac.webkit.org/changeset/244511.
+
+        * page/Page.cpp:
+        (WebCore::Page::configureLoggingChannel):
+
+2019-04-22  Youenn Fablet  <[email protected]>
+
         Cache API should return Abort error in case of putting an aborted fetch
         https://bugs.webkit.org/show_bug.cgi?id=196757
 

Modified: trunk/Source/WebCore/page/Page.cpp (244516 => 244517)


--- trunk/Source/WebCore/page/Page.cpp	2019-04-22 22:17:22 UTC (rev 244516)
+++ trunk/Source/WebCore/page/Page.cpp	2019-04-22 22:29:38 UTC (rev 244517)
@@ -2958,8 +2958,10 @@
         channel->state = state;
         channel->level = level;
 
+#if USE(LIBWEBRTC)
         if (channel == &LogWebRTC && m_mainFrame->document())
             libWebRTCProvider().setEnableLogging(!m_mainFrame->document()->sessionID().isEphemeral());
+#endif
     }
 
     chrome().client().configureLoggingChannel(channelName, state, level);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to