views: Fix showing window icon, closes #514.
This commit is contained in:
parent
b9d64784bb
commit
e8d59c4326
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents,
|
||||||
use_content_size_)
|
use_content_size_)
|
||||||
bounds = ContentBoundsToWindowBounds(bounds);
|
bounds = ContentBoundsToWindowBounds(bounds);
|
||||||
|
|
||||||
|
window_->UpdateWindowIcon();
|
||||||
window_->CenterWindow(bounds.size());
|
window_->CenterWindow(bounds.size());
|
||||||
Layout();
|
Layout();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue