From feabf245a2d09a56f40318ac2f23ca852237b750 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 10 Nov 2012 05:19:44 +0000 Subject: ui/gfx: Fix variable name style. TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11377092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167059 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/rect_f.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/gfx/rect_f.h') diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h index c931019..7595091 100644 --- a/ui/gfx/rect_f.h +++ b/ui/gfx/rect_f.h @@ -36,9 +36,9 @@ class UI_EXPORT RectF void Scale(float x_scale, float y_scale) { set_origin(ScalePoint(origin(), x_scale, y_scale)); - SizeF newSize = size().Scale(x_scale, y_scale); - newSize.ClampToNonNegative(); - set_size(newSize); + SizeF new_size = size().Scale(x_scale, y_scale); + new_size.ClampToNonNegative(); + set_size(new_size); } // This method reports if the RectF can be safely converted to an integer -- cgit v1.1