Commit edd17a1c authored by palmer's avatar palmer Committed by Commit bot

Fix rare browser crash when closing the Origin Info Bubble.

BUG=468201
TEST=Follow the repro steps in the bug and ensure there's no crash.

Review URL: https://codereview.chromium.org/1069043002

Cr-Commit-Position: refs/heads/master@{#324102}
parent 359e7388
......@@ -367,6 +367,7 @@ NSColor* IdentityVerifiedTextColor() {
- (void)windowWillClose:(NSNotification*)notification {
if (presenter_.get())
presenter_->OnUIClosing();
presenter_.reset();
[super windowWillClose:notification];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment