Bug 1131433 - More non-unified build fixes. a=bustage
authorJean-Yves Avenard <jyavenard@mozilla.com>
Tue, 03 Mar 2015 11:30:06 +1100
changeset 249040 f149caa9165050d683c94631ed27b0dddbc0cafe
parent 249039 93edd4dced6eaadd8d12498f217fb5d707e0d5fb
child 249041 64549e948fc81c4b7ef8d678030bc763c49f6810
push id970
push userjryans@gmail.com
push dateTue, 10 Mar 2015 15:54:18 +0000
reviewersbustage
bugs1131433
milestone37.0
Bug 1131433 - More non-unified build fixes. a=bustage
dom/media/mediasource/SourceBufferDecoder.cpp
--- a/dom/media/mediasource/SourceBufferDecoder.cpp
+++ b/dom/media/mediasource/SourceBufferDecoder.cpp
@@ -13,19 +13,17 @@
 
 #ifdef PR_LOGGING
 extern PRLogModuleInfo* GetMediaSourceLog();
 /* Polyfill __func__ on MSVC to pass to the log. */
 #ifdef _MSC_VER
 #define __func__ __FUNCTION__
 #endif
 
-#define STRINGIFY(x) #x
-#define TOSTRING(x) STRINGIFY(x)
-#define MSE_DEBUG(arg, ...) PR_LOG(GetMediaSourceLog(), PR_LOG_DEBUG, (TOSTRING(name) "SourceBufferDecoder(%p:%s)::%s: " arg, this, mResource->GetContentType().get(), __func__, ##__VA_ARGS__))
+#define MSE_DEBUG(arg, ...) PR_LOG(GetMediaSourceLog(), PR_LOG_DEBUG, ("SourceBufferDecoder(%p:%s)::%s: " arg, this, mResource->GetContentType().get(), __func__, ##__VA_ARGS__))
 #else
 #define MSE_DEBUG(...)
 #endif
 
 namespace mozilla {
 
 class ReentrantMonitor;