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

Unified Diff: base/gfx/rect.h

Issue 93131: Change Size::IsEmpty() to be consistent with Rect::IsEmpty() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « no previous file | base/gfx/rect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/rect.h
===================================================================
--- base/gfx/rect.h (revision 14559)
+++ base/gfx/rect.h (working copy)
@@ -86,7 +86,7 @@
}
// Returns true if the area of the rectangle is zero.
- bool IsEmpty() const;
+ bool IsEmpty() const { return size_.IsEmpty(); }
bool operator==(const Rect& other) const;
« no previous file with comments | « no previous file | base/gfx/rect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698