diff options
Diffstat (limited to 'chrome/views/window.cc')
-rw-r--r-- | chrome/views/window.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/views/window.cc b/chrome/views/window.cc index 9e078af..b02afcb 100644 --- a/chrome/views/window.cc +++ b/chrome/views/window.cc @@ -131,7 +131,8 @@ void Window::Init(HWND parent, const gfx::Rect& bounds) { } win_util::SetWindowUserData(GetHWND(), this); - UpdateWindowTitle(); + std::wstring window_title = window_delegate_->GetWindowTitle(); + SetWindowText(GetHWND(), window_title.c_str()); SetInitialBounds(bounds); if (window_delegate_->HasAlwaysOnTopMenu()) |