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

Unified Diff: gfx/size.cc

Issue 2895012: Disablging failing ui tests: RestoreWindow and RestoreWindowAndTab (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 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 | « chrome/browser/tab_restore_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/size.cc
diff --git a/gfx/size.cc b/gfx/size.cc
index d450f208556aba594154423c7eef97642b0003ec..90ff1da68b5bd3a99ab731db6750bf9e9fcddd33 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();
+ NOTREACHED() << "negative width:" << this;
width = 0;
}
width_ = width;
@@ -57,7 +57,7 @@ void Size::set_width(int width) {
void Size::set_height(int height) {
if (height < 0) {
- NOTREACHED();
+ NOTREACHED() << "negative height:" << this;
height = 0;
}
height_ = height;
« no previous file with comments | « chrome/browser/tab_restore_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698