Bug 1314530 Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore. draft
authorJames Cheng <jacheng@mozilla.com>
Mon, 07 Nov 2016 12:34:32 +0800
changeset 434675 9fd3428cc84a1b83e4bf95d0f49e82e0b15ef7f2
parent 434549 673b5327afe1d489c41f683c79c6e8ad22040526
child 434676 e93bf207cf53f9640e4714e8a013352df5baffe7
child 434704 a23c9f5da3fe4cdbaa32f83a5588de8ee6466677
push id34790
push userbmo:jacheng@mozilla.com
push dateMon, 07 Nov 2016 06:09:52 +0000
bugs1314530
milestone52.0a1
Bug 1314530 Part1 - Remove IsInPrivateBrowsing() since we did not use it anymore. 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;