diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 21:11:37 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 21:11:37 +0000 |
commit | 2463b91b1b318bfdbc669aaf757baa2417ba1091 (patch) | |
tree | 736c9e2933adeefa3155a303a6c12b798bbe4483 /views/widget/native_widget_win.h | |
parent | bdcb2ccce86b01f748ecd18b3330c0a42df8ee0e (diff) | |
download | chromium_src-2463b91b1b318bfdbc669aaf757baa2417ba1091.zip chromium_src-2463b91b1b318bfdbc669aaf757baa2417ba1091.tar.gz chromium_src-2463b91b1b318bfdbc669aaf757baa2417ba1091.tar.bz2 |
Disables tooltips if we can't create the tooltip window. I still don't
understand why we can't create tooltips for some folks, but this
should at least keep us from crashing.
BUG=82193
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/6995157
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget_win.h')
-rw-r--r-- | views/widget/native_widget_win.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/widget/native_widget_win.h b/views/widget/native_widget_win.h index 94bf6e2..524fd84 100644 --- a/views/widget/native_widget_win.h +++ b/views/widget/native_widget_win.h @@ -461,7 +461,8 @@ class NativeWidgetWin : public ui::WindowImpl, focus_on_creation_ = focus_on_creation; } - // The TooltipManager. + // The TooltipManager. This is NULL if there is a problem creating the + // underlying tooltip window. // WARNING: RootView's destructor calls into the TooltipManager. As such, this // must be destroyed AFTER root_view_. scoped_ptr<TooltipManagerWin> tooltip_manager_; |