| 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 4cce580cc9e8ccc0e21f3930cb76b28bed560a43..8ac64280ae8ea74fce899e71b5f65b09c0672107 100644
|
| --- a/chrome/browser/resources/md_history/history.js
|
| +++ b/chrome/browser/resources/md_history/history.js
|
| @@ -103,7 +103,9 @@ function historyDeleted() {
|
| */
|
| function updateSignInState(isUserSignedIn) {
|
| waitForAppUpgrade().then(function() {
|
| - /** @type {HistoryAppElement} */($('history-app'))
|
| - .updateSignInState(isUserSignedIn);
|
| + if ($('history-app')) {
|
| + /** @type {HistoryAppElement} */($('history-app'))
|
| + .updateSignInState(isUserSignedIn);
|
| + }
|
| });
|
| }
|
|
|