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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp

Issue 2737673003: Revert of Catch up the spec update in CSS Rhythmic Sizing (Closed)
Patch Set: Created 3 years, 9 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/core/css/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 2362193ed67547546232f85070972c2b21d3f1fb..5ea79791985a472c43dc8a72237fc82f8265fbf8 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -298,13 +298,6 @@
unsigned short CSSPrimitiveValue::computeLength(
const CSSToLengthConversionData& conversionData) const {
return roundForImpreciseConversion<unsigned short>(
- computeLengthDouble(conversionData));
-}
-
-template <>
-uint8_t CSSPrimitiveValue::computeLength(
- const CSSToLengthConversionData& conversionData) const {
- return roundForImpreciseConversion<uint8_t>(
computeLengthDouble(conversionData));
}

Powered by Google App Engine
This is Rietveld 408576698