Fix CefPoint.IsEmpty implementation (issue #1405).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1877 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-10-16 16:26:10 +00:00
parent 7ddcaaf14e
commit a20b5cc88d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class CefPoint : public CefStructBase<CefPointTraits> {
Set(x, y);
}
bool IsEmpty() const { return x <= 0 || x <= 0; }
bool IsEmpty() const { return x <= 0 && y <= 0; }
void Set(int x, int y) {
this->x = x, this->y = y;
}