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 41779bb3e1c67d2d180272b2c60aaf6355095888..06f8c3596c6f241377b8c685649527d0be4cb203 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
@@ -1,6 +1,7 @@ |
/* |
* (C) 1999-2003 Lars Knoll (knoll@kde.org) |
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2012 Apple Inc. All rights reserved. |
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2012 Apple Inc. All rights |
+ * reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -35,8 +36,10 @@ namespace blink { |
namespace { |
-// Max/min values for CSS, needs to slightly smaller/larger than the true max/min values to allow for rounding without overflowing. |
-// Subtract two (rather than one) to allow for values to be converted to float and back without exceeding the LayoutUnit::max. |
+// Max/min values for CSS, needs to slightly smaller/larger than the true |
+// max/min values to allow for rounding without overflowing. |
+// Subtract two (rather than one) to allow for values to be converted to float |
+// and back without exceeding the LayoutUnit::max. |
const int maxValueForCssLength = INT_MAX / kFixedPointDenominator - 2; |
const int minValueForCssLength = INT_MIN / kFixedPointDenominator + 2; |
@@ -403,8 +406,9 @@ double CSSPrimitiveValue::getDoubleValue() const { |
CSSPrimitiveValue::UnitType CSSPrimitiveValue::canonicalUnitTypeForCategory( |
UnitCategory category) { |
- // The canonical unit type is chosen according to the way CSSPropertyParser::validUnit() chooses the default unit |
- // in each category (based on unitflags). |
+ // The canonical unit type is chosen according to the way |
+ // CSSPropertyParser::validUnit() chooses the default unit in each category |
+ // (based on unitflags). |
switch (category) { |
case UNumber: |
return UnitType::Number; |