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:
parent
7ddcaaf14e
commit
a20b5cc88d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue