Backed out changeset 4c80cc28343b (bug 1312684) for bustage
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 25 Oct 2016 12:19:49 +0200
changeset 319290 f06e4b3ad7a21d0725b090c5e88217c1cb4fc29e
parent 319289 4c80cc28343b476ed3d770d9aee6ebfca01a8221
child 319291 f9c4a4233f426c0735e61c93c29d89e6d57ce24f
push id30869
push userphilringnalda@gmail.com
push dateWed, 26 Oct 2016 04:57:48 +0000
treeherdermozilla-central@9471b3c49b2c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1312684
milestone52.0a1
backs out4c80cc28343b476ed3d770d9aee6ebfca01a8221
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 4c80cc28343b (bug 1312684) for bustage
dom/media/CubebUtils.cpp
--- a/dom/media/CubebUtils.cpp
+++ b/dom/media/CubebUtils.cpp
@@ -26,23 +26,19 @@
 namespace mozilla {
 
 namespace {
 
 LazyLogModule gCubebLog("cubeb");
 
 void CubebLogCallback(const char* aFmt, ...)
 {
-  const int cubeLogSize = 256;
-  char buffer[cubeLogSize];
-
   va_list arglist;
   va_start(arglist, aFmt);
-  vsnprintf (buffer, cubeLogSize, aFmt, arglist);
-  MOZ_LOG(gCubebLog, LogLevel::Verbose, ("%s", buffer));
+  MOZ_LOG(gCubebLog, LogLevel::Verbose, (aFmt, arglist));
   va_end(arglist);
 }
 
 // This mutex protects the variables below.
 StaticMutex sMutex;
 enum class CubebState {
   Uninitialized = 0,
   Initialized,