diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-31 19:04:07 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-31 19:04:07 +0000 |
commit | f72c2cb0576c8e5c793769302e305f69e98b177a (patch) | |
tree | 4a8c370001c55c3c27ea219776f5de7f4b272043 /ui/views/controls/native/native_view_host_win.h | |
parent | 279171fac338beb67473cb920112c6317dc5967e (diff) | |
download | chromium_src-f72c2cb0576c8e5c793769302e305f69e98b177a.zip chromium_src-f72c2cb0576c8e5c793769302e305f69e98b177a.tar.gz chromium_src-f72c2cb0576c8e5c793769302e305f69e98b177a.tar.bz2 |
Attempt 2 at: Fixes crash that occured because NativeViewHostAura::Detach was not
changing the parent of the attached window. This meant that if the
parent was destroyed the attached window would be destroyed. Fix for
windows was done here: https://chromiumcodereview.appspot.com/10832011
This differs from first patch in that I needed to add checks for
RootWindow in a couple of places.
BUG=132090, 141870
TEST=see bug
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10910034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls/native/native_view_host_win.h')
-rw-r--r-- | ui/views/controls/native/native_view_host_win.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/views/controls/native/native_view_host_win.h b/ui/views/controls/native/native_view_host_win.h index ab83ae6..2b67c50 100644 --- a/ui/views/controls/native/native_view_host_win.h +++ b/ui/views/controls/native/native_view_host_win.h @@ -32,11 +32,6 @@ class NativeViewHostWin : public NativeViewHostWrapper { virtual gfx::NativeViewAccessible GetNativeViewAccessible(); private: - // Invokes ViewRemoved() on the FocusManager for all the child Widgets of our - // NativeView. This is used when detaching to ensure the FocusManager doesn't - // have a reference to a View that is no longer reachable. - void ClearFocus(); - // Our associated NativeViewHost. NativeViewHost* host_; |