| 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 cecf8082d530aee6c53c551d6d31f54da3001819..7248ec901a2155d955df4e50e6c77e42e7ba3488 100644
|
| --- a/chrome/browser/resources/md_history/history.js
|
| +++ b/chrome/browser/resources/md_history/history.js
|
| @@ -38,7 +38,7 @@ function waitForAppUpgrade() {
|
| */
|
| function historyResult(info, results) {
|
| waitForAppUpgrade().then(function() {
|
| - var app = /** @type {HistoryAppElement} */($('history-app'));
|
| + var app = /** @type {HistoryAppElement} */ ($('history-app'));
|
| app.historyResult(info, results);
|
| document.body.classList.remove('loading');
|
|
|
| @@ -74,7 +74,7 @@ function showNotification(
|
| */
|
| function setForeignSessions(sessionList) {
|
| waitForAppUpgrade().then(function() {
|
| - /** @type {HistoryAppElement} */($('history-app'))
|
| + /** @type {HistoryAppElement} */ ($('history-app'))
|
| .setForeignSessions(sessionList);
|
| });
|
| }
|
| @@ -84,8 +84,7 @@ function setForeignSessions(sessionList) {
|
| */
|
| function historyDeleted() {
|
| waitForAppUpgrade().then(function() {
|
| - /** @type {HistoryAppElement} */($('history-app'))
|
| - .historyDeleted();
|
| + /** @type {HistoryAppElement} */ ($('history-app')).historyDeleted();
|
| });
|
| }
|
|
|
| @@ -96,7 +95,7 @@ function historyDeleted() {
|
| function updateSignInState(isUserSignedIn) {
|
| waitForAppUpgrade().then(function() {
|
| if ($('history-app')) {
|
| - /** @type {HistoryAppElement} */($('history-app'))
|
| + /** @type {HistoryAppElement} */ ($('history-app'))
|
| .updateSignInState(isUserSignedIn);
|
| }
|
| });
|
|
|