Index: chrome/browser/resources/history/history.js |
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js |
index b2d96bfab49c6a2867ed378440d530b4b5d1e221..3a73426aa18ea28747fd67c6939a79e60c90cc38 100644 |
--- a/chrome/browser/resources/history/history.js |
+++ b/chrome/browser/resources/history/history.js |
@@ -996,6 +996,9 @@ HistoryView.prototype.positionNotificationBar = function() { |
* @private |
*/ |
HistoryView.prototype.clear_ = function() { |
+ if ($('alertOverlay').classList.contains('showing')) |
+ hideConfirmationOverlay(); |
+ |
this.resultDiv_.textContent = ''; |
this.currentVisits_.forEach(function(visit) { |