Bug 1312754 (prereq) - Fix compile issues caused by shuffling around unified files. r?mayhemer draft
authorNicholas Hurley <hurley@todesschaf.org>
Tue, 10 Jan 2017 06:34:49 -0800
changeset 484869 43cd2f9009ca666be903f2b3670e7611c56bd29e
parent 482133 7b9d9e4a82a6eed63833171d38667313081641db
child 484870 c2e9e14a78932ec259f779a382a1b4da4714513e
push id45575
push userbmo:hurley@mozilla.com
push dateWed, 15 Feb 2017 22:05:34 +0000
reviewersmayhemer
bugs1312754
milestone54.0a1
Bug 1312754 (prereq) - Fix compile issues caused by shuffling around unified files. r?mayhemer MozReview-Commit-ID: 1FIopeftM6G
netwerk/base/nsTemporaryFileInputStream.cpp
--- a/netwerk/base/nsTemporaryFileInputStream.cpp
+++ b/netwerk/base/nsTemporaryFileInputStream.cpp
@@ -1,17 +1,22 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsTemporaryFileInputStream.h"
 #include "nsStreamUtils.h"
+#include "mozilla/ipc/InputStreamUtils.h"
+#include "private/pprio.h"
 #include <algorithm>
 
+using namespace mozilla;
+using namespace mozilla::ipc;
+
 typedef mozilla::ipc::FileDescriptor::PlatformHandleType FileHandleType;
 
 NS_IMPL_ISUPPORTS(nsTemporaryFileInputStream,
                   nsIInputStream,
                   nsISeekableStream,
                   nsIIPCSerializableInputStream)
 
 nsTemporaryFileInputStream::nsTemporaryFileInputStream(FileDescOwner* aFileDescOwner, uint64_t aStartPos, uint64_t aEndPos)