Chromium Code Reviews| Index: chrome/browser/resources/md_history/history.js |
| diff --git a/chrome/browser/resources/md_history/history.js b/chrome/browser/resources/md_history/history.js |
| index 0c456c7dfb77adc715cbb04618f4224bb7634294..c21eb1341b0a6adefdd5616827ff354159da7db4 100644 |
| --- a/chrome/browser/resources/md_history/history.js |
| +++ b/chrome/browser/resources/md_history/history.js |
| @@ -85,6 +85,11 @@ function setForeignSessions(sessionList, isTabSyncEnabled) { |
| * Called when the history is deleted by someone else. |
| */ |
| function historyDeleted() { |
| + waitForAppUpgrade().then(function() { |
| + // Call into list-container to restore search state. |
| + /** @type {HistoryListContainerElement} */($('history-app').$['history']) |
|
Dan Beam
2016/08/04 00:30:46
we really need a lint rule about thing.$.localId
tsergeant
2016/08/04 01:25:55
Yup, please avoid directly accessing local DOM of
Dan Beam
2016/08/04 03:23:44
https://codereview.chromium.org/2209053002/
lshang
2016/08/05 03:39:03
Done.
|
| + .queryHistory(false); |
| + }); |
| } |
| /** |