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

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

Issue 644813005: Floating point MQs should not match. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/MediaValuesCached.h
diff --git a/Source/core/css/MediaValuesCached.h b/Source/core/css/MediaValuesCached.h
index 4a79e08c59b5680bd734a4d266ffbc306923df22..40aea493a7d6bd561128ba72b9e8961dabbd509d 100644
--- a/Source/core/css/MediaValuesCached.h
+++ b/Source/core/css/MediaValuesCached.h
@@ -55,7 +55,7 @@ public:
virtual PassRefPtr<MediaValues> copy() const override;
virtual bool isSafeToSendToAnotherThread() const override;
virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const override;
- virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const override;
+ virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, float& result) const override;
virtual int viewportWidth() const override;
virtual int viewportHeight() const override;

Powered by Google App Engine
This is Rietveld 408576698