diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 05:09:14 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 05:09:14 +0000 |
commit | f73bdc8c33f0b395ba058083505209baeedf9f38 (patch) | |
tree | f583bdb1745dc5e99548e3ee33117109808318a2 /chrome/views | |
parent | f3e99e3d1dd8d37c7d0e37daa24df7717cd7783b (diff) | |
download | chromium_src-f73bdc8c33f0b395ba058083505209baeedf9f38.zip chromium_src-f73bdc8c33f0b395ba058083505209baeedf9f38.tar.gz chromium_src-f73bdc8c33f0b395ba058083505209baeedf9f38.tar.bz2 |
roll back this part of the fix since it has unintended side effects when calling virtual overrides
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-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()) |