Commit b0137ea0 authored by John Lee's avatar John Lee Committed by Commit Bot

WebUI Tab Strip: Update DCHECK to CHECK to investigate crash

Bug: 1141573
Change-Id: I2ac4c7156e7b7e997bcadb0e187a53d8adfd3a4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2496024Reviewed-by: default avatarCollin Baker <collinbaker@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820508}
parent d4477795
......@@ -760,8 +760,8 @@ void TabStripUIHandler::HandleShowTabContextMenu(const base::ListValue* args) {
const bool got_tab = extensions::ExtensionTabUtil::GetTabById(
tab_id, browser_->profile(), true /* include_incognito */, &browser,
nullptr, nullptr, &tab_index);
DCHECK(got_tab);
DCHECK_EQ(browser, browser_);
CHECK(got_tab);
CHECK_EQ(browser, browser_);
DCHECK(embedder_);
embedder_->ShowContextMenuAtPoint(
......
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