Title: [163393] trunk/Source/WebCore
- Revision
- 163393
- Author
- [email protected]
- Date
- 2014-02-04 11:22:15 -0800 (Tue, 04 Feb 2014)
Log Message
Fix Release build after r163390.
* platform/audio/MediaSession.cpp: Add "#if !LOG_DISABLED" around logging-only function.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (163392 => 163393)
--- trunk/Source/WebCore/ChangeLog 2014-02-04 19:10:25 UTC (rev 163392)
+++ trunk/Source/WebCore/ChangeLog 2014-02-04 19:22:15 UTC (rev 163393)
@@ -1,5 +1,11 @@
2014-02-04 Eric Carlson <[email protected]>
+ Fix Release build after r163390.
+
+ * platform/audio/MediaSession.cpp: Add "#if !LOG_DISABLED" around logging-only function.
+
+2014-02-04 Eric Carlson <[email protected]>
+
Refine MediaSession interruptions
https://bugs.webkit.org/show_bug.cgi?id=128125
Modified: trunk/Source/WebCore/platform/audio/MediaSession.cpp (163392 => 163393)
--- trunk/Source/WebCore/platform/audio/MediaSession.cpp 2014-02-04 19:10:25 UTC (rev 163392)
+++ trunk/Source/WebCore/platform/audio/MediaSession.cpp 2014-02-04 19:22:15 UTC (rev 163393)
@@ -32,6 +32,7 @@
namespace WebCore {
+#if !LOG_DISABLED
static const char* stateName(MediaSession::State state)
{
#define CASE(_state) case MediaSession::_state: return #_state; break;
@@ -45,7 +46,8 @@
ASSERT_NOT_REACHED();
return "";
}
-
+#endif
+
std::unique_ptr<MediaSession> MediaSession::create(MediaSessionClient& client)
{
return std::make_unique<MediaSession>(client);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes