Index: ppapi/proxy/interface_list.cc |
diff --git a/ppapi/proxy/interface_list.cc b/ppapi/proxy/interface_list.cc |
index f2ed19a61b27a6bb46767291c9c5d3b7ce3ad5be..0d2b870d6fd3f9f2e806d51f35859c9895556381 100644 |
--- a/ppapi/proxy/interface_list.cc |
+++ b/ppapi/proxy/interface_list.cc |
@@ -333,7 +333,7 @@ void InterfaceList::SetProcessGlobalPermissions( |
InterfaceProxy::Factory InterfaceList::GetFactoryForID(ApiID id) const { |
int index = static_cast<int>(id); |
- COMPILE_ASSERT(API_ID_NONE == 0, none_must_be_zero); |
+ static_assert(API_ID_NONE == 0, "none must be zero"); |
if (id <= 0 || id >= API_ID_COUNT) |
return NULL; |
return id_to_factory_[index]; |