<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
# HG changeset patch
# User Chris Double &lt;chris.double@double.co.nz&gt;
# Date 1422915617 -46800
# Node ID 8061d4f8d716e828f80f62d0423cd2d33e923744
# Parent  9a2113fcfa398066998755efbf8d6f35602283bc
Bug 1128161 - Fix build error when logging is disabled. r=ajones, a=sledru

diff --git a/dom/media/mediasource/MediaSourceUtils.cpp b/dom/media/mediasource/MediaSourceUtils.cpp
--- a/dom/media/mediasource/MediaSourceUtils.cpp
+++ b/dom/media/mediasource/MediaSourceUtils.cpp
@@ -6,17 +6,16 @@
 #include "MediaSourceUtils.h"
 
 #include "prlog.h"
 #include "mozilla/dom/TimeRanges.h"
 #include "nsPrintfCString.h"
 
 namespace mozilla {
 
-#if defined(PR_LOGGING)
 nsCString
 DumpTimeRanges(dom::TimeRanges* aRanges)
 {
   nsCString dump;
 
   dump = "[";
 
   for (uint32_t i = 0; i &lt; aRanges-&gt;Length(); ++i) {
@@ -26,11 +25,10 @@ DumpTimeRanges(dom::TimeRanges* aRanges)
     ErrorResult dummy;
     dump += nsPrintfCString("(%f, %f)", aRanges-&gt;Start(i, dummy), aRanges-&gt;End(i, dummy));
   }
 
   dump += "]";
 
   return dump;
 }
-#endif
 
 } // namespace mozilla

</pre></body></html>