Index: ppapi/cpp/private/content_decryptor_private.cc |
diff --git a/ppapi/cpp/private/content_decryptor_private.cc b/ppapi/cpp/private/content_decryptor_private.cc |
index 76dc2f33c04b4f533ebf6aeb44d629c48c81314a..1e2666122e174597ac98c813d5d7f33676c2056c 100644 |
--- a/ppapi/cpp/private/content_decryptor_private.cc |
+++ b/ppapi/cpp/private/content_decryptor_private.cc |
@@ -329,7 +329,8 @@ void ContentDecryptor_Private::SessionKeysChange( |
pp::Var session_id_var(session_id); |
get_interface<PPB_ContentDecryptor_Private>()->SessionKeysChange( |
associated_instance_.pp_instance(), session_id_var.pp_var(), |
- PP_FromBool(has_additional_usable_key), key_information.size(), |
+ PP_FromBool(has_additional_usable_key), |
+ static_cast<uint32_t>(key_information.size()), |
key_information.empty() ? NULL : &key_information[0]); |
} |
} |