summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 19:35:57 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 19:35:57 +0000
commit8687ee1cccd767f8a7309f0e39e2ee33cd8dea8c (patch)
tree80164e8e4cd8e382d04368e52b0bd2d67b965eed /chrome/browser/views
parent231744281811c63cf15f6d6a7e02b85bc549506c (diff)
downloadchromium_src-8687ee1cccd767f8a7309f0e39e2ee33cd8dea8c.zip
chromium_src-8687ee1cccd767f8a7309f0e39e2ee33cd8dea8c.tar.gz
chromium_src-8687ee1cccd767f8a7309f0e39e2ee33cd8dea8c.tar.bz2
Remove the second part of SetPageTitle since it's used only for debugging, if at all,
and it causes some crashes on the reliability bots. Review URL: http://codereview.chromium.org/1611028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/tab_contents/tab_contents_view_win.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/views/tab_contents/tab_contents_view_win.cc b/chrome/browser/views/tab_contents/tab_contents_view_win.cc
index ab0a397..0592cc2 100644
--- a/chrome/browser/views/tab_contents/tab_contents_view_win.cc
+++ b/chrome/browser/views/tab_contents/tab_contents_view_win.cc
@@ -156,11 +156,6 @@ void TabContentsViewWin::SetPageTitle(const std::wstring& title) {
if (GetNativeView()) {
// It's possible to get this after the hwnd has been destroyed.
::SetWindowText(GetNativeView(), title.c_str());
- // TODO(brettw) this call seems messy the way it reaches into the widget
- // view, and I'm not sure it's necessary. Maybe we should just remove it.
- ::SetWindowText(
- tab_contents()->GetRenderWidgetHostView()->GetNativeView(),
- title.c_str());
}
}