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

Unified Diff: Source/core/css/CSSLengthFunctions.h

Issue 122973002: Refactor the length functions to remove passing around the extra bool parameter for rounding behavi… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try again Created 6 years, 12 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 | « no previous file | Source/core/css/CSSLengthFunctions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSLengthFunctions.h
diff --git a/Source/core/css/CSSLengthFunctions.h b/Source/core/css/CSSLengthFunctions.h
index 4cb39884f9c48c3408f0ee05fbfd74403f9212bb..63a908b44102988e45935ac14eb15d78c389f3ec 100644
--- a/Source/core/css/CSSLengthFunctions.h
+++ b/Source/core/css/CSSLengthFunctions.h
@@ -32,10 +32,11 @@ class Length;
class RenderView;
// FIXME: Move these to platform/LengthFunctions.h
-int minimumIntValueForLength(const Length&, LayoutUnit maximumValue, bool roundPercentages = false);
-int intValueForLength(const Length&, LayoutUnit maximumValue, bool roundPercentages = false);
-LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue, bool roundPercentages = false);
-LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue, bool roundPercentages = false);
+int minimumIntValueForLength(const Length&, LayoutUnit maximumValue);
+int intValueForLength(const Length&, LayoutUnit maximumValue);
+LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue);
+LayoutUnit roundedMinimumValueForLength(const Length&, LayoutUnit maximumValue);
+LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue);
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/css/CSSLengthFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698