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

Unified Diff: sky/engine/core/css/MediaValues.cpp

Issue 788883005: Remove REM units. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/css/MediaQueryExp.cpp ('k') | sky/engine/core/css/MediaValuesTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/MediaValues.cpp
diff --git a/sky/engine/core/css/MediaValues.cpp b/sky/engine/core/css/MediaValues.cpp
index cc7b42d6c5bd7aca44ccba77720fe04887640d3b..d317b41cec4cdb4e0d8336675458b908adbdfa8c 100644
--- a/sky/engine/core/css/MediaValues.cpp
+++ b/sky/engine/core/css/MediaValues.cpp
@@ -136,7 +136,6 @@ bool MediaValues::computeLengthImpl(double value, CSSPrimitiveValue::UnitType ty
double factor = 0;
switch (type) {
case CSSPrimitiveValue::CSS_EMS:
- case CSSPrimitiveValue::CSS_REMS:
factor = defaultFontSize;
break;
case CSSPrimitiveValue::CSS_PX:
« no previous file with comments | « sky/engine/core/css/MediaQueryExp.cpp ('k') | sky/engine/core/css/MediaValuesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698