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

Unified Diff: Source/platform/LayoutUnit.h

Issue 673583002: Remove wtf_ceil. (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
« no previous file with comments | « Source/platform/DecimalTest.cpp ('k') | Source/wtf/MathExtras.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/LayoutUnit.h
diff --git a/Source/platform/LayoutUnit.h b/Source/platform/LayoutUnit.h
index c78ed541704764d267a87137a4dae52f6101dfc8..95e33a16dc1cd9bab3d9f2c16663103960e89de2 100644
--- a/Source/platform/LayoutUnit.h
+++ b/Source/platform/LayoutUnit.h
@@ -131,11 +131,7 @@ public:
returnValue.setRawValue(::abs(m_value));
return returnValue;
}
-#if OS(MACOSX)
- int wtf_ceil() const
-#else
int ceil() const
-#endif
{
if (UNLIKELY(m_value >= INT_MAX - kFixedPointDenominator + 1))
return intMaxForLayoutUnit;
« no previous file with comments | « Source/platform/DecimalTest.cpp ('k') | Source/wtf/MathExtras.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698