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

Unified Diff: ui/gfx/geometry/size.h

Issue 2159723003: Change declared variable name in gfx::ScaleTo*Size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/size.h
diff --git a/ui/gfx/geometry/size.h b/ui/gfx/geometry/size.h
index 6eb05227aba19f2bfd791b4c56340fb01da4e8d3..96f667394e47b4bf1e5e20bf7e4d6cb126683bfd 100644
--- a/ui/gfx/geometry/size.h
+++ b/ui/gfx/geometry/size.h
@@ -88,15 +88,15 @@ void PrintTo(const Size& size, ::std::ostream* os);
GFX_EXPORT Size ScaleToCeiledSize(const Size& size,
float x_scale,
float y_scale);
-GFX_EXPORT Size ScaleToCeiledSize(const Size& size, float x_scale);
+GFX_EXPORT Size ScaleToCeiledSize(const Size& size, float scale);
GFX_EXPORT Size ScaleToFlooredSize(const Size& size,
float x_scale,
float y_scale);
-GFX_EXPORT Size ScaleToFlooredSize(const Size& size, float x_scale);
+GFX_EXPORT Size ScaleToFlooredSize(const Size& size, float scale);
GFX_EXPORT Size ScaleToRoundedSize(const Size& size,
float x_scale,
float y_scale);
-GFX_EXPORT Size ScaleToRoundedSize(const Size& size, float x_scale);
+GFX_EXPORT Size ScaleToRoundedSize(const Size& size, float scale);
} // namespace gfx
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698