summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 05:09:14 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 05:09:14 +0000
commitf73bdc8c33f0b395ba058083505209baeedf9f38 (patch)
treef583bdb1745dc5e99548e3ee33117109808318a2 /chrome/views
parentf3e99e3d1dd8d37c7d0e37daa24df7717cd7783b (diff)
downloadchromium_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.cc3
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())