Title: [285718] trunk/Source/WebCore
Revision
285718
Author
[email protected]
Date
2021-11-12 07:44:28 -0800 (Fri, 12 Nov 2021)

Log Message

[GLib] Developer build with release logs disabled fails
https://bugs.webkit.org/show_bug.cgi?id=232931

Patch by Philippe Normand <[email protected]> on 2021-11-12
Reviewed by Adrian Perez de Castro.

* platform/audio/PlatformMediaSession.cpp: Remove ifdef around convertEnumerationToString
functions, required by Internals.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (285717 => 285718)


--- trunk/Source/WebCore/ChangeLog	2021-11-12 14:57:30 UTC (rev 285717)
+++ trunk/Source/WebCore/ChangeLog	2021-11-12 15:44:28 UTC (rev 285718)
@@ -1,3 +1,13 @@
+2021-11-12  Philippe Normand  <[email protected]>
+
+        [GLib] Developer build with release logs disabled fails
+        https://bugs.webkit.org/show_bug.cgi?id=232931
+
+        Reviewed by Adrian Perez de Castro.
+
+        * platform/audio/PlatformMediaSession.cpp: Remove ifdef around convertEnumerationToString
+        functions, required by Internals.
+
 2021-11-12  Alan Bujtas  <[email protected]>
 
         [LFC][IFC] Add inline box margin-start support for visual ordering (bidi)

Modified: trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp (285717 => 285718)


--- trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp	2021-11-12 14:57:30 UTC (rev 285717)
+++ trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp	2021-11-12 15:44:28 UTC (rev 285718)
@@ -37,7 +37,6 @@
 
 static constexpr Seconds clientDataBufferingTimerThrottleDelay { 100_ms };
 
-#if !RELEASE_LOG_DISABLED
 String convertEnumerationToString(PlatformMediaSession::State state)
 {
     static const NeverDestroyed<String> values[] = {
@@ -121,8 +120,6 @@
     return values[static_cast<size_t>(command)];
 }
 
-#endif
-
 std::unique_ptr<PlatformMediaSession> PlatformMediaSession::create(PlatformMediaSessionManager& manager, PlatformMediaSessionClient& client)
 {
     return std::unique_ptr<PlatformMediaSession>(new PlatformMediaSession(manager, client));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to