Bug 1065111 - Remove obsolete logging macros. r=jya, a=sledru
authorRalph Giles <giles@mozilla.com>
Thu, 27 Nov 2014 13:21:00 -0800
changeset 242428 ee2e7c1e9736ce28f0c42ffb0c7e101f1a35f3fc
parent 242427 b8add81bccccc660e47d6e78b61e9804d833ea22
child 242429 12b7ad6ab23abe8a3d99ea8c2128975973f0891c
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya, sledru
bugs1065111
milestone36.0a2
Bug 1065111 - Remove obsolete logging macros. r=jya, a=sledru
dom/media/fmp4/apple/AppleUtils.cpp
--- a/dom/media/fmp4/apple/AppleUtils.cpp
+++ b/dom/media/fmp4/apple/AppleUtils.cpp
@@ -10,18 +10,9 @@
 #ifdef PR_LOGGING
 PRLogModuleInfo* GetAppleMediaLog() {
   static PRLogModuleInfo* log = nullptr;
   if (!log) {
     log = PR_NewLogModule("AppleMedia");
   }
   return log;
 }
-#define WARN(...) PR_LOG(GetAppleMediaLog(), PR_LOG_WARNING, (__VA_ARGS__))
-#else
-#define WARN(...)
 #endif
-
-#define PROPERTY_ID_FORMAT "%c%c%c%c"
-#define PROPERTY_ID_PRINT(x) ((x) >> 24), \
-                             ((x) >> 16) & 0xff, \
-                             ((x) >> 8) & 0xff, \
-                              (x) & 0xff