Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: public/platform/WebRect.h

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« Tools/Scripts/webkitpy/bindings/main.py ('K') | « Tools/Scripts/webkitpy/bindings/main.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698