Index: webkit/media/crypto/ppapi_decryptor.cc |
diff --git a/webkit/media/crypto/ppapi_decryptor.cc b/webkit/media/crypto/ppapi_decryptor.cc |
index 70c4b1b3685c686fd648e641b6a87311350c8695..ec19cc1d56110f652ce2be33835d368ea3f4cbb1 100644 |
--- a/webkit/media/crypto/ppapi_decryptor.cc |
+++ b/webkit/media/crypto/ppapi_decryptor.cc |
@@ -32,7 +32,7 @@ PpapiDecryptor::PpapiDecryptor( |
PpapiDecryptor::~PpapiDecryptor() { |
} |
-void PpapiDecryptor::GenerateKeyRequest(const std::string& key_system, |
+bool PpapiDecryptor::GenerateKeyRequest(const std::string& key_system, |
const uint8* init_data, |
int init_data_length) { |
DVLOG(1) << "GenerateKeyRequest()"; |
@@ -46,7 +46,10 @@ void PpapiDecryptor::GenerateKeyRequest(const std::string& key_system, |
std::string(reinterpret_cast<const char*>(init_data), |
init_data_length))) { |
ReportFailureToCallPlugin(key_system, ""); |
+ return false; |
} |
+ |
+ return true; |
} |
void PpapiDecryptor::AddKey(const std::string& key_system, |