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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc

Issue 12223106: Properly Remove Autofill Keyboard Listener. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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/autofill/autofill_popup_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
index 09bd84594bcab35f2a1323b4cc0690c2ddc63011..51c1c8182300ee15532bb27cadaea591f36b3d8e 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
@@ -223,9 +223,7 @@ TEST_F(AutofillPopupControllerUnitTest, RemoveLine) {
// Remove the last entry. The popup should then be hidden since there are
// no Autofill entries left.
autofill_popup_controller_->SetSelectedLine(0);
- // The controller self-deletes here, don't double delete.
EXPECT_TRUE(autofill_popup_controller_->RemoveSelectedLine());
- autofill_popup_controller_ = NULL;
}
TEST_F(AutofillPopupControllerUnitTest, SkipSeparator) {
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_controller_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698