diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 18:19:57 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 18:19:57 +0000 |
commit | 032f25252fbb1d74e2a6ba553f6b87c6ef6e5192 (patch) | |
tree | 8990a142cb0beff02f565579f55284d5ca2e6eaa /gfx | |
parent | 22fc143af3e0cb80d39ad0614759ead6c20ba7b5 (diff) | |
download | chromium_src-032f25252fbb1d74e2a6ba553f6b87c6ef6e5192.zip chromium_src-032f25252fbb1d74e2a6ba553f6b87c6ef6e5192.tar.gz chromium_src-032f25252fbb1d74e2a6ba553f6b87c6ef6e5192.tar.bz2 |
Fix a change that has been checked in by mistake in r52157
Looks like I checked in a change that I was playing in other git branch
by accident when I disabled a tests in CL 2895012 (r52157)
This fixes a log message so that it print the width/height when crashed.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3216002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/size.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/size.cc b/gfx/size.cc index 9ef8c35..e39a2d7 100644 --- a/gfx/size.cc +++ b/gfx/size.cc @@ -49,7 +49,7 @@ CGSize Size::ToCGSize() const { void Size::set_width(int width) { if (width < 0) { - NOTREACHED() << "negative width:" << this; + NOTREACHED() << "negative width:" << width; width = 0; } width_ = width; @@ -57,7 +57,7 @@ void Size::set_width(int width) { void Size::set_height(int height) { if (height < 0) { - NOTREACHED() << "negative height:" << this; + NOTREACHED() << "negative height:" << height; height = 0; } height_ = height; |