Bug 1394656 - Don't include nsCOMPtr.h in SharedBuffer.h as its unused. r?jwwang
Including nsCOMPtr also pulls in cycle collection stuff, which complicates the
include graph.
MozReview-Commit-ID: 7YqrkwrVfds
--- a/dom/media/SharedBuffer.h
+++ b/dom/media/SharedBuffer.h
@@ -3,17 +3,18 @@
* 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/. */
#ifndef MOZILLA_SHAREDBUFFER_H_
#define MOZILLA_SHAREDBUFFER_H_
#include "mozilla/CheckedInt.h"
#include "mozilla/mozalloc.h"
-#include "nsCOMPtr.h"
+#include "mozilla/MemoryReporting.h"
+#include "nsISupportsImpl.h"
namespace mozilla {
class AudioBlockBuffer;
/**
* Base class for objects with a thread-safe refcount and a virtual
* destructor.