Bug 1314530 Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore. r=cpearce
authorJames Cheng <jacheng@mozilla.com>
Mon, 07 Nov 2016 12:34:32 +0800
changeset 348217 3879ad77bbcfa7bbb89938d8f64151d54a21258e
parent 348216 48ee0a796817c352ea4e8138fe89766bc17da6d0
child 348218 13f6bd96aa7805497d31ab9d9543232a31637a38
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1314530
milestone52.0a1
Bug 1314530 Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore. r=cpearce MozReview-Commit-ID: J8tfOyzBB97
dom/media/eme/MediaKeys.h
--- a/dom/media/eme/MediaKeys.h
+++ b/dom/media/eme/MediaKeys.h
@@ -128,18 +128,16 @@ public:
   // Shutdown which is called from the script/dom side.
   void Terminated();
 
   // Returns true if this MediaKeys has been bound to a media element.
   bool IsBoundToMediaElement() const;
 
 private:
 
-  bool IsInPrivateBrowsing();
-
   // Removes promise from mPromises, and returns it.
   already_AddRefed<DetailedPromise> RetrievePromise(PromiseId aId);
 
   // Owning ref to proxy. The proxy has a weak reference back to the MediaKeys,
   // and the MediaKeys destructor clears the proxy's reference to the MediaKeys.
   RefPtr<CDMProxy> mProxy;
 
   RefPtr<HTMLMediaElement> mElement;