summaryrefslogtreecommitdiffstats
path: root/ui/gfx/rect_f.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/rect_f.h')
-rw-r--r--ui/gfx/rect_f.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h
index 7595091..965e5af 100644
--- a/ui/gfx/rect_f.h
+++ b/ui/gfx/rect_f.h
@@ -37,7 +37,6 @@ class UI_EXPORT RectF
set_origin(ScalePoint(origin(), x_scale, y_scale));
SizeF new_size = size().Scale(x_scale, y_scale);
- new_size.ClampToNonNegative();
set_size(new_size);
}