Remove duplicate def of is_guest

This commit is contained in:
Cheng Zhao 2015-06-05 15:18:15 +08:00
parent d9efc3b4bf
commit 67144aaf2a
2 changed files with 11 additions and 12 deletions

View file

@ -108,8 +108,7 @@ class WebContents : public mate::EventEmitter,
// Sets the transparency of the guest.
void SetAllowTransparency(bool allow);
// Returns whether this is a guest view.
bool is_guest() const { return guest_instance_id_ != -1; }
bool IsGuest() const;
// Returns whether this guest has an associated embedder.
bool attached() const { return !!embedder_web_contents_; }