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

Unified Diff: chrome/browser/resources/history/history.js

Issue 970213002: [History] Set |deleteCompleteCallback_| before calling -removeVisits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index 85542c1d12dad82507ecf1082b98fb693a80b019..f76d3393ed62d7aaa49c8f6ed4ae44ca5a15c557 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -710,8 +710,8 @@ HistoryModel.prototype.removeVisitsFromHistory = function(visits, callback) {
});
}
- chrome.send('removeVisits', toBeRemoved);
this.deleteCompleteCallback_ = callback;
+ chrome.send('removeVisits', toBeRemoved);
};
/** @return {boolean} Whether the model is currently deleting a visit. */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698