From: Cheng Zhao Date: Sat, 26 Jul 2014 04:06:38 +0000 (+0800) Subject: views: Fix showing window icon, closes #514. X-Git-Tag: v0.14.3~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e8d59c4326b7d89edac7ce07be457f4d6b265396;p=electron.git views: Fix showing window icon, closes #514. --- diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index df013e33..ba540b65 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -123,6 +123,7 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents, use_content_size_) bounds = ContentBoundsToWindowBounds(bounds); + window_->UpdateWindowIcon(); window_->CenterWindow(bounds.size()); Layout(); }