diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-15 21:58:24 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-15 21:58:24 +0000 |
commit | a1a9e7c87641ad88d189c154293bf602859249f3 (patch) | |
tree | b04b48cd64234951f45bd6ff16752b1be3c6ff61 /views/widget/native_widget.h | |
parent | ce0cb2221ce904f7e18db8e6fcbbba689e0d44d0 (diff) | |
download | chromium_src-a1a9e7c87641ad88d189c154293bf602859249f3.zip chromium_src-a1a9e7c87641ad88d189c154293bf602859249f3.tar.gz chromium_src-a1a9e7c87641ad88d189c154293bf602859249f3.tar.bz2 |
Removes code added to track down crash. The crash seems to have
occurred for two reasons:
. window class name changing out from under us.
. CreateWindow returning NULL because we're out of memory.
I've changed the following:
. Left in CHECK on return from CreateWindow.
. Removed dependency on class name. We don't really need it anyway.
I've also changed View::PaintFocusableBorder to check focusable last,
as that requires looking up the FocusManager
BUG=77651
TEST=none
Review URL: http://codereview.chromium.org/6865023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget.h')
-rw-r--r-- | views/widget/native_widget.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/views/widget/native_widget.h b/views/widget/native_widget.h index 9ef9070..b7692f3 100644 --- a/views/widget/native_widget.h +++ b/views/widget/native_widget.h @@ -44,13 +44,6 @@ class NativeWidget { static NativeWidget* GetNativeWidgetForNativeWindow( gfx::NativeWindow native_window); -#if defined(OS_WIN) - // Debugging code to help track 77651. - static NativeWidget* GetTopLevelNativeWidgetWithReason( - gfx::NativeView native_view, - int* reason); -#endif - // Retrieves the top NativeWidget in the hierarchy containing the given // NativeView, or NULL if there is no NativeWidget that contains it. static NativeWidget* GetTopLevelNativeWidget(gfx::NativeView native_view); |