Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Issue 23904005: Fixes crah in NativeWidgetAura::IsActive() (Closed)

Created:
7 years, 3 months ago by sky
Modified:
7 years, 3 months ago
CC:
chromium-reviews, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

Fixes crah in NativeWidgetAura::IsActive() The crash happens if when the HWND is destroyed someone asks if a child NativeWidgetAura is Active. In particular during this code path we've gone through ~RootWindow and are in ~Window. When this happens GetRootWindow() uses Window's implementation, which returns NULL and we crash. BUG=264855 TEST=none R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222096

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M ui/views/widget/native_widget_aura.cc View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sky
7 years, 3 months ago (2013-09-09 21:19:26 UTC) #1
Ben Goodger (Google)
lgtm On Mon, Sep 9, 2013 at 2:19 PM, <sky@chromium.org> wrote: > Reviewers: Ben Goodger ...
7 years, 3 months ago (2013-09-09 21:22:11 UTC) #2
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 21:26:32 UTC) #3
Message was sent while issue was closed.
Change committed as 222096

Powered by Google App Engine
This is Rietveld 408576698