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

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: Address comments 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
« no previous file with comments | « LayoutTests/fast/css/calc-rounding-expected.txt ('k') | Source/platform/Length.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Length.h
diff --git a/Source/platform/Length.h b/Source/platform/Length.h
index bdaf50eae9b4cf2edd800d9d958e827735f11ed5..25ee7105f151e0ca2fdfba9147cf2360211c1a23 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(LayoutUnit maxValue) const;
Length subtractFromOneHundredPercent() const;
« no previous file with comments | « LayoutTests/fast/css/calc-rounding-expected.txt ('k') | Source/platform/Length.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698