Switch to static_assert in base/.

BUG=442514

Review URL: https://codereview.chromium.org/1467003002

Cr-Commit-Position: refs/heads/master@{#361337}


CrOS-Libchrome-Original-Commit: 4ec0dffe9e013e64058ff506a76bc822957227aa
diff --git a/base/bind_internal.h b/base/bind_internal.h
index 1cb1684..c6832e6 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -313,8 +313,8 @@
   // WeakCalls are only supported for functions with a void return type.
   // Otherwise, the function result would be undefined if the the WeakPtr<>
   // is invalidated.
-  COMPILE_ASSERT(is_void<ReturnType>::value,
-                 weak_ptrs_can_only_bind_to_methods_without_return_values);
+  static_assert(is_void<ReturnType>::value,
+                "weak_ptrs can only bind to methods without return values");
 };
 
 #endif