Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 80bea8f3c05a7cc64611779dbd5526a24f6389d8..427357b1f615fb8388c87522829dfb97085f8b09 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -224,7 +224,9 @@ class MEDIA_EXPORT WebMediaPlayerImpl |
// is not available. |
void OnWaitingForDecryptionKey(); |
- void SetCdm(CdmContext* cdm_context, const CdmAttachedCB& cdm_attached_cb); |
+ // Sets |cdm_context| on the pipeline and fires |cdm_attached_cb| when done. |
+ // Parameter order is reversed for easy binding. |
+ void SetCdm(const CdmAttachedCB& cdm_attached_cb, CdmContext* cdm_context); |
// Called when a CDM has been attached to the |pipeline_|. |
void OnCdmAttached(blink::WebContentDecryptionModuleResult result, |