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

Issue 2396883004: MacViews: Fix crash due to failed DCHECK in BridgedNativeWidget. (Closed)

Created:
4 years, 2 months ago by karandeepb
Modified:
4 years, 2 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Fix crash due to failed DCHECK in BridgedNativeWidget. BridgedNativeWidget::NotifyVisibilityChangeDown() currently has DCHECKs to ensure that - When a window is hidden, all its child windows are hidden and removed from its child window list. - When a window is made visible, all its child windows which want to become visible are made visible and added to its child window list. However, this does not account for windows which may be added by AppKit, for example, the Mac Dictionary popup. This CL modifies the DCHECKs to correctly account for windows added by AppKit. BUG=653325 Committed: https://crrev.com/93d211ca178ee90dc77d3825cdd1c7fd3ce5f021 Committed: https://crrev.com/578c39e0edd49f49d0e368eccec170c6715c3808 Cr-Original-Commit-Position: refs/heads/master@{#423450} Cr-Commit-Position: refs/heads/master@{#423782}

Patch Set 1 : -- #

Total comments: 2

Patch Set 2 : Fix compile on Release bots. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M ui/views/cocoa/bridged_native_widget.mm View 1 3 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
karandeepb
PTAL Trent.
4 years, 2 months ago (2016-10-06 05:45:40 UTC) #4
tapted
lgtm
4 years, 2 months ago (2016-10-06 05:48:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2396883004/20001
4 years, 2 months ago (2016-10-06 05:49:32 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 2 months ago (2016-10-06 06:23:47 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/93d211ca178ee90dc77d3825cdd1c7fd3ce5f021 Cr-Commit-Position: refs/heads/master@{#423450}
4 years, 2 months ago (2016-10-06 06:26:12 UTC) #11
karandeepb
A revert of this CL (patchset #1 id:20001) has been created in https://codereview.chromium.org/2399783002/ by karandeepb@chromium.org. ...
4 years, 2 months ago (2016-10-06 06:38:02 UTC) #12
tapted
https://codereview.chromium.org/2396883004/diff/20001/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm (right): https://codereview.chromium.org/2396883004/diff/20001/ui/views/cocoa/bridged_native_widget.mm#newcode315 ui/views/cocoa/bridged_native_widget.mm:315: #if DCHECK_IS_ON() dang it - typically this is required ...
4 years, 2 months ago (2016-10-06 07:38:46 UTC) #13
karandeepb
https://codereview.chromium.org/2396883004/diff/20001/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm (right): https://codereview.chromium.org/2396883004/diff/20001/ui/views/cocoa/bridged_native_widget.mm#newcode315 ui/views/cocoa/bridged_native_widget.mm:315: #if DCHECK_IS_ON() On 2016/10/06 07:38:46, tapted wrote: > dang ...
4 years, 2 months ago (2016-10-07 01:03:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2396883004/40001
4 years, 2 months ago (2016-10-07 01:08:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2396883004/40001
4 years, 2 months ago (2016-10-07 02:20:11 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-10-07 02:25:21 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 02:28:19 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/578c39e0edd49f49d0e368eccec170c6715c3808
Cr-Commit-Position: refs/heads/master@{#423782}

Powered by Google App Engine
This is Rietveld 408576698