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

Unified Diff: Source/platform/Length.h

Issue 845313010: Allow Length::nonNanCalculatedValue to take a LayoutUnit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add reftest Created 5 years, 11 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/Length.h
diff --git a/Source/platform/Length.h b/Source/platform/Length.h
index bdaf50eae9b4cf2edd800d9d958e827735f11ed5..87b49b7c28d9a93810110a319b3a59f85f657d81 100644
--- a/Source/platform/Length.h
+++ b/Source/platform/Length.h
@@ -291,7 +291,7 @@ public:
ASSERT(!isMaxSizeNone());
return m_isFloat ? m_floatValue : m_intValue;
}
- float nonNanCalculatedValue(int maxValue) const;
+ float nonNanCalculatedValue(float maxValue) const;
Length subtractFromOneHundredPercent() const;

Powered by Google App Engine
This is Rietveld 408576698