Index: public/platform/WebRect.h |
diff --git a/public/platform/WebRect.h b/public/platform/WebRect.h |
index 107c0b57e4b06698e4e0bbaab825253d18673e08..6c526b2bfe46a4a3dfd5914d216d3a9df5e3a31c 100644 |
--- a/public/platform/WebRect.h |
+++ b/public/platform/WebRect.h |
@@ -38,6 +38,9 @@ |
#else |
#include <algorithm> |
#include <cmath> |
+// FIXME: ceil(x) macro defined in wtf/MathExtras.h causes compile error |
+// when we have "std::ceil(x)". So use #undef ceil to avoid the error. |
+#undef ceil |
#include <ui/gfx/rect.h> |
#endif |