summaryrefslogtreecommitdiffstats
path: root/ui/ui.gyp
diff options
context:
space:
mode:
authorshawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 22:56:32 +0000
committershawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 22:56:32 +0000
commitb1b842bbf7f21c593f0fb08ac19e213ec2f710eb (patch)
tree9b3fca6b021476b9e75e3ea08d8a39bc6e7f3e31 /ui/ui.gyp
parent440ad534bead94ffc6c0237ef86b7fbb55aa3bda (diff)
downloadchromium_src-b1b842bbf7f21c593f0fb08ac19e213ec2f710eb.zip
chromium_src-b1b842bbf7f21c593f0fb08ac19e213ec2f710eb.tar.gz
chromium_src-b1b842bbf7f21c593f0fb08ac19e213ec2f710eb.tar.bz2
Revert 167255 - ui: Remove gfx::Size::ClampToNonNegative, prevent negative sizes always.
This was added with the intention of using Size as a vector, replacing use of IntSize. Since we have Vector2d now, negative sizes should not exist, so clamp them in set_width/set_height and the constructor. Not covered by tests, as we can't test DCHECKs. TBR=sky BUG=160158 Relanding: https://codereview.chromium.org/11365160/ Review URL: https://codereview.chromium.org/11410024 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/11359194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r--ui/ui.gyp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 82c8757..0b1d0c2 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -499,7 +499,6 @@
'gfx/size.cc',
'gfx/size.h',
'gfx/size_base.h',
- 'gfx/size_base_impl.h',
'gfx/size_conversions.cc',
'gfx/size_conversions.h',
'gfx/size_f.cc',