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

Unified Diff: Source/platform/LayoutUnit.h

Issue 200023002: Making LayoutUnit conversions to Float type explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 9 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: Source/platform/LayoutUnit.h
diff --git a/Source/platform/LayoutUnit.h b/Source/platform/LayoutUnit.h
index eccb5b165dabce3bcd396a6da66d7c70d12bb05d..e0c7a3969d5c249339aed0baa3aaeb4385ead74c 100644
--- a/Source/platform/LayoutUnit.h
+++ b/Source/platform/LayoutUnit.h
@@ -107,7 +107,6 @@ public:
operator int() const { return toInt(); }
operator unsigned() const { return toUnsigned(); }
- operator float() const { return toFloat(); }
leviw_travelin_and_unemployed 2014/03/18 19:26:30 I would have also accepted making this simply "exp
operator double() const { return toDouble(); }
operator bool() const { return m_value; }

Powered by Google App Engine
This is Rietveld 408576698