views: Fix showing window icon, closes #514.

This commit is contained in:
Cheng Zhao 2014-07-26 12:06:38 +08:00
parent b9d64784bb
commit e8d59c4326

View file

@ -123,6 +123,7 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents,
use_content_size_)
bounds = ContentBoundsToWindowBounds(bounds);
window_->UpdateWindowIcon();
window_->CenterWindow(bounds.size());
Layout();
}