Index: public/platform/WebDeviceOrientationData.h |
diff --git a/public/platform/WebDeviceOrientationData.h b/public/platform/WebDeviceOrientationData.h |
index f0b4980e235c39714e0a5125cc3081fccbee9c9c..7d3f83563b2119ee000346177ca5d1b5e0587487 100644 |
--- a/public/platform/WebDeviceOrientationData.h |
+++ b/public/platform/WebDeviceOrientationData.h |
@@ -61,7 +61,7 @@ public: |
}; |
#if INSIDE_BLINK |
-COMPILE_ASSERT(sizeof(WebDeviceOrientationData) == (3 * sizeof(double) + 1 * sizeof(char)), WebDeviceOrientationData_has_wrong_size); |
+static_assert(sizeof(WebDeviceOrientationData) == (3 * sizeof(double) + 1 * sizeof(char)), "WebDeviceOrientationData has wrong size"); |
#endif |
#pragma pack(pop) |