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

Unified Diff: Source/core/svg/SVGLengthContext.h

Issue 861213003: Fix problems with flakes in SVG LayoutTests by reordering arithmetic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rephrased comment. Created 5 years, 11 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
« no previous file with comments | « Source/core/svg/SVGLength.cpp ('k') | Source/core/svg/SVGLengthContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLengthContext.h
diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h
index fb7cf68ccb3652504e43382232a3f0b8e70bb57c..758cb6d93988def38c597b93d4bed46187517be3 100644
--- a/Source/core/svg/SVGLengthContext.h
+++ b/Source/core/svg/SVGLengthContext.h
@@ -72,7 +72,8 @@ public:
private:
float convertValueFromUserUnitsToPercentage(float value, SVGLengthMode, ExceptionState&) const;
float convertValueFromPercentageToUserUnits(float value, SVGLengthMode, ExceptionState&) const;
- static float convertValueFromPercentageToUserUnits(float value, SVGLengthMode, const FloatSize&);
+ static float convertValueFromPercentageToUserUnits(float value, SVGLengthMode, const FloatSize& viewportSize);
+ static float convertValueFromPercentageToUserUnits(const SVGLength& value, const FloatSize& viewportSize);
float convertValueFromUserUnitsToEMS(float value, ExceptionState&) const;
float convertValueFromEMSToUserUnits(float value, ExceptionState&) const;
« no previous file with comments | « Source/core/svg/SVGLength.cpp ('k') | Source/core/svg/SVGLengthContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698