]> khamidou — GitHub mirrors - electron.git/commitdiff
views: Fix showing window icon, closes #514.
authorCheng Zhao <zcbenz@gmail.com>
Sat, 26 Jul 2014 04:06:38 +0000 (12:06 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 26 Jul 2014 04:06:38 +0000 (12:06 +0800)
atom/browser/native_window_views.cc

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