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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_bar.cc

Issue 2857653002: Fix BrowserActionsBarBrowserTest.OverflowedBrowserActionPopupTestRemoval in ASan with new libc++. (Closed)
Patch Set: worse! Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/toolbar_actions_bar.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar.cc b/chrome/browser/ui/toolbar/toolbar_actions_bar.cc
index fd0bbf0237042b107005b7cfcae02ed2da6c41af..33fb5957f65dd56bc32df043c50a18f4b468870a 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar.cc
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar.cc
@@ -659,8 +659,6 @@ void ToolbarActionsBar::OnToolbarActionRemoved(const std::string& action_id) {
std::move(*iter);
toolbar_actions_.erase(iter);
delegate_->RemoveViewForAction(removed_action.get());
- if (popped_out_action_ == removed_action.get())
- UndoPopOut();
removed_action.reset();
// If the extension is being upgraded we don't want the bar to shrink

Powered by Google App Engine
This is Rietveld 408576698