Commit 9c742f3f authored by Melissa Zhang's avatar Melissa Zhang Committed by Commit Bot

[Sharesheet] Missing null check.

Bug: 1126788
Change-Id: I8c632beddf21fa93740c6a4e76b6d385c940530f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2439998Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Melissa Zhang <melzhang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812510}
parent 8c24d268
......@@ -285,8 +285,10 @@ void SharesheetBubbleView::ButtonPressed(views::Button* sender,
std::move(intent_), share_action_view_);
intent_.reset();
user_cancelled_ = false;
if (close_callback_) {
std::move(close_callback_).Run(sharesheet::SharesheetResult::kSuccess);
}
}
}
std::unique_ptr<views::NonClientFrameView>
......
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