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

Issue 10910034: Attempt 2 at: Fixes crash that occured because NativeViewHostAura::Detach was not (Closed)

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

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154477

Patch Set 1 #

Patch Set 2 : da fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -25 lines) Patch
M chrome/browser/ui/views/constrained_window_views.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M ui/views/controls/native/native_view_host.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/controls/native/native_view_host.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M ui/views/controls/native/native_view_host_aura.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/native/native_view_host_win.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/controls/native/native_view_host_win.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
Patchset 1 is the one I landed, 2 the fix.
8 years, 3 months ago (2012-08-31 16:51:35 UTC) #1
Ben Goodger (Google)
8 years, 3 months ago (2012-08-31 18:20:41 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698