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

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

Issue 1181023004: Move rem handling out of CSSParserValues.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another attempt Created 5 years, 5 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/core/css/CSSToLengthConversionData.h
diff --git a/Source/core/css/CSSToLengthConversionData.h b/Source/core/css/CSSToLengthConversionData.h
index e60408130b9b7cb95e8a0038ebaf682cd40d6a27..d6a3bbd64b0fcece7c811d875b80006a737aa455 100644
--- a/Source/core/css/CSSToLengthConversionData.h
+++ b/Source/core/css/CSSToLengthConversionData.h
@@ -81,7 +81,7 @@ public:
float zoom() const { return m_zoom; }
float emFontSize() const { return m_fontSizes.em(); }
- float remFontSize() const { return m_fontSizes.rem(); }
+ float remFontSize() const;
float exFontSize() const { return m_fontSizes.ex(); }
float chFontSize() const { return m_fontSizes.ch(); }
« no previous file with comments | « LayoutTests/platform/win/fast/css/rem-calc-dynamic-scaling-expected.txt ('k') | Source/core/css/CSSToLengthConversionData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698