Chromium Code Reviews| Index: Source/core/css/MediaValues.h |
| diff --git a/Source/core/css/MediaValues.h b/Source/core/css/MediaValues.h |
| index 2a0b282f2993aaca109fd33d99fbe3e37741a971..27ab29e3e03a059235b92bdaf611ec7c12e99b23 100644 |
| --- a/Source/core/css/MediaValues.h |
| +++ b/Source/core/css/MediaValues.h |
| @@ -41,7 +41,7 @@ public: |
| return true; |
| } |
| virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const = 0; |
| - virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const = 0; |
| + virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, float& result) const = 0; |
|
rune
2014/10/10 09:01:46
Why did you start using floats instead of doubles?
|
| virtual int viewportWidth() const = 0; |
| virtual int viewportHeight() const = 0; |