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

Unified Diff: trunk/src/chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc

Issue 75483005: Revert 235801 "Fix crash when locking a profile. The crash is ha..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc (revision 235821)
+++ trunk/src/chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc (working copy)
@@ -110,6 +110,9 @@
menu->GetItemAt(menu->GetActiveProfileIndex());
EXPECT_FALSE(menu_item_before.signin_required);
+ ui::MouseEvent mouse_ev(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0);
+ menu->SetLogoutURL("about:blank");
+
ProfileChooserView::profile_bubble_->LinkClicked(
static_cast<views::Link*>(
ProfileChooserView::profile_bubble_->signout_current_profile_link_),

Powered by Google App Engine
This is Rietveld 408576698