Bug 1403804 - P2 - Remove remaining GMPCDMProxy term. r?cpearce draft
authorJames Cheng <jacheng@mozilla.com>
Thu, 28 Sep 2017 11:58:35 +0800
changeset 671595 b6a8f3a4cf42914a39817be2516696a55afe193f
parent 671594 ca934e85caa0e47d2d4d294db9361ce7e66d4970
child 671767 75a496f5bbb6ed1855449c5af90feff735ddcd7f
push id81988
push userbmo:jacheng@mozilla.com
push dateThu, 28 Sep 2017 04:00:57 +0000
reviewerscpearce
bugs1403804
milestone58.0a1
Bug 1403804 - P2 - Remove remaining GMPCDMProxy term. r?cpearce MozReview-Commit-ID: IlcqZWYlFPv
dom/media/eme/MediaKeys.h
dom/media/gmp/ChromiumCDMProxy.h
--- a/dom/media/eme/MediaKeys.h
+++ b/dom/media/eme/MediaKeys.h
@@ -128,17 +128,17 @@ public:
   // Returns true if this MediaKeys has been bound to a media element.
   bool IsBoundToMediaElement() const;
 
   void GetSessionsInfo(nsString& sessionsInfo);
 
 private:
 
   // Instantiate CDMProxy instance.
-  // It could be MediaDrmCDMProxy (Widevine on Fennec) or GMPCDMProxy (the rest).
+  // It could be MediaDrmCDMProxy (Widevine on Fennec) or ChromiumCDMProxy (the rest).
   already_AddRefed<CDMProxy> CreateCDMProxy(nsIEventTarget* aMainThread);
 
   // 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;
--- a/dom/media/gmp/ChromiumCDMProxy.h
+++ b/dom/media/gmp/ChromiumCDMProxy.h
@@ -125,9 +125,9 @@ private:
   Mutex mCDMMutex;
   RefPtr<gmp::ChromiumCDMParent> mCDM;
   RefPtr<AbstractThread> mGMPThread;
   UniquePtr<ChromiumCDMCallbackProxy> mCallback;
 };
 
 } // namespace mozilla
 
-#endif // GMPCDMProxy_h_
+#endif // ChromiumCDMProxy_h_