Remove COMPILE_ASSERT and use static_assert everywhere

COMPILE_ASSERT is no longer needed now that we have C++11's
static_assert.

R=aluebs@webrtc.org, andrew@webrtc.org, hellner@chromium.org, henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/39469004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8058 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_processing/transient/file_utils.h b/webrtc/modules/audio_processing/transient/file_utils.h
index 8dc477d..dbc3b5f 100644
--- a/webrtc/modules/audio_processing/transient/file_utils.h
+++ b/webrtc/modules/audio_processing/transient/file_utils.h
@@ -13,7 +13,6 @@
 
 #include <string.h>
 
-#include "webrtc/base/compile_assert.h"
 #include "webrtc/system_wrappers/interface/file_wrapper.h"
 #include "webrtc/typedefs.h"
 
@@ -24,8 +23,8 @@
 template <class Dest, class Source>
 inline Dest bit_cast(const Source& source) {
   // A compile error here means your Dest and Source have different sizes.
-  COMPILE_ASSERT(sizeof(Dest) == sizeof(Source),
-                 dest_and_source_have_different_sizes);
+  static_assert(sizeof(Dest) == sizeof(Source),
+                "Dest and Source have different sizes");
 
   Dest dest;
   memcpy(&dest, &source, sizeof(dest));