1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../seamonkey/no-logging.patch
5 # Copyright (C) 2015 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 From: Chris Double <chris.double@double.co.nz>
18 Bug 1128161 - Fix build error when logging is disabled - r=ajones
21 diff --git a/dom/media/mediasource/MediaSourceUtils.cpp b/dom/media/mediasource/MediaSourceUtils.cpp
22 index 44a40f5..83bba60 100644
23 --- a/mozilla/dom/media/mediasource/MediaSourceUtils.cpp
24 +++ b/mozilla/dom/media/mediasource/MediaSourceUtils.cpp
26 #include "MediaSourceUtils.h"
29 #include "mozilla/dom/TimeRanges.h"
30 #include "nsPrintfCString.h"
34 -#if defined(PR_LOGGING)
36 DumpTimeRanges(dom::TimeRanges* aRanges)
42 for (uint32_t i = 0; i < aRanges->Length(); ++i) {
43 @@ -26,11 +25,10 @@ DumpTimeRanges(dom::TimeRanges* aRanges)
45 dump += nsPrintfCString("(%f, %f)", aRanges->Start(i, dummy), aRanges->End(i, dummy));
54 } // namespace mozilla