Index: media/cdm/ppapi/cdm_adapter.cc |
diff --git a/media/cdm/ppapi/cdm_adapter.cc b/media/cdm/ppapi/cdm_adapter.cc |
index 83bf8997dc23c18ad9cbd3bfae2235753425c654..dad3d86dc323aa17f45cac73eb1beb773ece86b5 100644 |
--- a/media/cdm/ppapi/cdm_adapter.cc |
+++ b/media/cdm/ppapi/cdm_adapter.cc |
@@ -1245,9 +1245,9 @@ void* GetCdmHost(int host_interface_version, void* user_data) { |
if (!host_interface_version || !user_data) |
return NULL; |
- COMPILE_ASSERT( |
+ static_assert( |
cdm::ContentDecryptionModule::Host::kVersion == cdm::Host_6::kVersion, |
- update_code_below); |
+ "update the code below"); |
// Ensure IsSupportedCdmHostVersion matches implementation of this function. |
// Always update this DCHECK when updating this function. |