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

Unified Diff: sky/engine/platform/LayoutUnit.h

Issue 709603006: Remove a bunch of OS(MACOSX) code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Even more Created 6 years, 1 month 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: sky/engine/platform/LayoutUnit.h
diff --git a/sky/engine/platform/LayoutUnit.h b/sky/engine/platform/LayoutUnit.h
index ebdf61f87318bd183895721bcff28cb0a70360db..2e033dda36fb13430d303acc3e4df9c6689d1d7a 100644
--- a/sky/engine/platform/LayoutUnit.h
+++ b/sky/engine/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;

Powered by Google App Engine
This is Rietveld 408576698