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

Unified Diff: third_party/WebKit/Source/platform/LengthFunctions.h

Issue 1660863002: Force all LayoutUnit construction to be explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix LayoutRectTest.cpp Created 4 years, 10 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: third_party/WebKit/Source/platform/LengthFunctions.h
diff --git a/third_party/WebKit/Source/platform/LengthFunctions.h b/third_party/WebKit/Source/platform/LengthFunctions.h
index db7e505fa583cd9f29cca7195e21b24bd47ba9c9..68d1bf77fdc6b016e200036fba03d5a00708dc69 100644
--- a/third_party/WebKit/Source/platform/LengthFunctions.h
+++ b/third_party/WebKit/Source/platform/LengthFunctions.h
@@ -33,7 +33,7 @@ class LayoutUnit;
class Length;
class LengthSize;
-PLATFORM_EXPORT int intValueForLength(const Length&, LayoutUnit maximumValue);
+PLATFORM_EXPORT int intValueForLength(const Length&, int maximumValue);
PLATFORM_EXPORT float floatValueForLength(const Length&, float maximumValue);
PLATFORM_EXPORT LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue);
PLATFORM_EXPORT LayoutUnit roundedMinimumValueForLength(const Length&, LayoutUnit maximumValue);
« no previous file with comments | « third_party/WebKit/Source/platform/LayoutUnit.h ('k') | third_party/WebKit/Source/platform/LengthFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698