Bug 1132780 - Fix namespace and include files in MediaKeyStatusMap.cpp/h. r=cpearce a=lmandel
authorJW Wang <jwwang@mozilla.com>
Thu, 12 Feb 2015 19:26:00 -0500
changeset 250213 e3bf6bb9b33a
parent 250212 4cb81cd7b63c
child 250214 4c7cf01583e2
push id4521
push usercpearce@mozilla.com
push date2015-03-04 01:22 +0000
treeherdermozilla-beta@8abdbdecd2d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce, lmandel
bugs1132780
milestone37.0
Bug 1132780 - Fix namespace and include files in MediaKeyStatusMap.cpp/h. r=cpearce a=lmandel
dom/media/eme/MediaKeyStatusMap.cpp
dom/media/eme/MediaKeyStatusMap.h
--- a/dom/media/eme/MediaKeyStatusMap.cpp
+++ b/dom/media/eme/MediaKeyStatusMap.cpp
@@ -2,16 +2,17 @@
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 /* 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 "nsPIDOMWindow.h"
 #include "mozilla/dom/MediaKeyStatusMap.h"
 #include "mozilla/dom/UnionTypes.h"
+#include "mozilla/dom/ToJSValue.h"
 
 namespace mozilla {
 namespace dom {
 
 NS_IMPL_CYCLE_COLLECTING_ADDREF(MediaKeyStatusMap)
 NS_IMPL_CYCLE_COLLECTING_RELEASE(MediaKeyStatusMap)
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(MediaKeyStatusMap)
--- a/dom/media/eme/MediaKeyStatusMap.h
+++ b/dom/media/eme/MediaKeyStatusMap.h
@@ -12,21 +12,22 @@
 #include "nsCycleCollectionParticipant.h"
 #include "nsWrapperCache.h"
 
 #include "mozilla/dom/TypedArray.h"
 #include "mozilla/dom/MediaKeyStatusMapBinding.h"
 #include "mozilla/CDMCaps.h"
 
 class nsPIDOMWindow;
-class ArrayBufferViewOrArrayBuffer;
 
 namespace mozilla {
 namespace dom {
 
+class ArrayBufferViewOrArrayBuffer;
+
 class MediaKeyStatusMap MOZ_FINAL : public nsISupports,
                                     public nsWrapperCache
 {
 public:
   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(MediaKeyStatusMap)
 
 public: