Fix API changes on Linux

This commit is contained in:
Cheng Zhao 2015-09-02 17:29:30 +08:00
parent 38a211db2e
commit 90125c44e3

View file

@ -13,13 +13,9 @@
namespace brightray {
ViewsDelegate::ViewsDelegate() {
DCHECK(!views::ViewsDelegate::views_delegate);
views::ViewsDelegate::views_delegate = this;
}
ViewsDelegate::~ViewsDelegate() {
DCHECK_EQ(views::ViewsDelegate::views_delegate, this);
views::ViewsDelegate::views_delegate = NULL;
}
void ViewsDelegate::SaveWindowPlacement(const views::Widget* window,