Fix API changes on Linux
This commit is contained in:
parent
38a211db2e
commit
90125c44e3
1 changed files with 0 additions and 4 deletions
|
@ -13,13 +13,9 @@
|
||||||
namespace brightray {
|
namespace brightray {
|
||||||
|
|
||||||
ViewsDelegate::ViewsDelegate() {
|
ViewsDelegate::ViewsDelegate() {
|
||||||
DCHECK(!views::ViewsDelegate::views_delegate);
|
|
||||||
views::ViewsDelegate::views_delegate = this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ViewsDelegate::~ViewsDelegate() {
|
ViewsDelegate::~ViewsDelegate() {
|
||||||
DCHECK_EQ(views::ViewsDelegate::views_delegate, this);
|
|
||||||
views::ViewsDelegate::views_delegate = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ViewsDelegate::SaveWindowPlacement(const views::Widget* window,
|
void ViewsDelegate::SaveWindowPlacement(const views::Widget* window,
|
||||||
|
|
Loading…
Reference in a new issue