Title: [258538] trunk/Source/WebCore
- Revision
- 258538
- Author
- timothy_hor...@apple.com
- Date
- 2020-03-16 21:44:51 -0700 (Mon, 16 Mar 2020)
Log Message
Remove a 'using namespace WebCore' in MediaSessionManagerCocoa
https://bugs.webkit.org/show_bug.cgi?id=209162
Reviewed by Simon Fraser.
* platform/audio/cocoa/MediaSessionManagerCocoa.mm:
Unified source cleanliness. Not currently causing any trouble, but
it did when I changed something locally!
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (258537 => 258538)
--- trunk/Source/WebCore/ChangeLog 2020-03-17 01:32:19 UTC (rev 258537)
+++ trunk/Source/WebCore/ChangeLog 2020-03-17 04:44:51 UTC (rev 258538)
@@ -1,3 +1,14 @@
+2020-03-16 Tim Horton <timothy_hor...@apple.com>
+
+ Remove a 'using namespace WebCore' in MediaSessionManagerCocoa
+ https://bugs.webkit.org/show_bug.cgi?id=209162
+
+ Reviewed by Simon Fraser.
+
+ * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
+ Unified source cleanliness. Not currently causing any trouble, but
+ it did when I changed something locally!
+
2020-03-16 ChangSeok Oh <changs...@webkit.org>
A change event gets dispatched when textarea gets changed without focus
Modified: trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm (258537 => 258538)
--- trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm 2020-03-17 01:32:19 UTC (rev 258537)
+++ trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm 2020-03-17 04:44:51 UTC (rev 258538)
@@ -42,11 +42,11 @@
#include "MediaRemoteSoftLink.h"
-using namespace WebCore;
-
static const size_t kWebAudioBufferSize = 128;
static const size_t kLowPowerVideoBufferSize = 4096;
+namespace WebCore {
+
#if PLATFORM(MAC)
std::unique_ptr<PlatformMediaSessionManager> PlatformMediaSessionManager::create()
{
@@ -334,4 +334,6 @@
#endif // USE(MEDIAREMOTE)
}
-#endif // USE(AUDIO_SESSION)
+} // namespace WebCore
+
+#endif // USE(AUDIO_SESSION) && PLATFORM(COCOA)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes