Index: webkit/media/crypto/ppapi/clear_key_cdm.cc |
diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.cc b/webkit/media/crypto/ppapi/clear_key_cdm.cc |
index c546c6a13344abbc7fb573af99b0661a37fd6761..22e3445fa26e19bf1c6e7233236c71a96421a424 100644 |
--- a/webkit/media/crypto/ppapi/clear_key_cdm.cc |
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.cc |
@@ -190,7 +190,10 @@ void ClearKeyCdm::Client::NeedKey(const std::string& key_system, |
} |
ClearKeyCdm::ClearKeyCdm(cdm::Allocator* allocator, cdm::Host* host) |
- : decryptor_(&client_), |
+ : decryptor_(base::Bind(&Client::KeyAdded, base::Unretained(&client_)), |
+ base::Bind(&Client::KeyError, base::Unretained(&client_)), |
+ base::Bind(&Client::KeyMessage, base::Unretained(&client_)), |
+ base::Bind(&Client::NeedKey, base::Unretained(&client_))), |
allocator_(allocator), |
host_(host), |
timer_delay_ms_(kInitialTimerDelayMs), |