| Index: chrome/browser/resources/settings/settings_page/settings_router.js
|
| diff --git a/chrome/browser/resources/settings/settings_page/settings_router.js b/chrome/browser/resources/settings/settings_page/settings_router.js
|
| index 892d8edfefccae670f16de23e9149434186a3167..81d9f613387139ca8c35423f0946dd09ec75645e 100644
|
| --- a/chrome/browser/resources/settings/settings_page/settings_router.js
|
| +++ b/chrome/browser/resources/settings/settings_page/settings_router.js
|
| @@ -66,12 +66,7 @@
|
| currentRouteTitles: {
|
| notify: true,
|
| type: Object,
|
| - value: function() {
|
| - return {
|
| - pageTitle: '',
|
| - subpageTitles: [],
|
| - };
|
| - },
|
| + value: function() { return {}; },
|
| },
|
| },
|
|
|
| @@ -116,15 +111,6 @@
|
| subpage: ['search-engines', 'search-engines-advanced'],
|
| subpageTitles: ['searchEnginesPageTitle', 'advancedPageTitle'],
|
| },
|
| -<if expr="not chromeos">
|
| - {
|
| - url: '/manageProfile',
|
| - page: 'basic',
|
| - section: 'people',
|
| - subpage: ['manageProfile'],
|
| - subpageTitles: ['editPerson'],
|
| - },
|
| -</if>
|
| {
|
| url: '/syncSetup',
|
| page: 'basic',
|
| @@ -264,12 +250,12 @@
|
| // Push the current route to the history state, so when the user
|
| // navigates with the browser back button, we can recall the route.
|
| if (oldRoute) {
|
| - window.history.pushState(historicState, document.title, route.url);
|
| + history.pushState(historicState, null, route.url);
|
| } else {
|
| // For the very first route (oldRoute will be undefined), we replace
|
| // the existing state instead of pushing a new one. This is to allow
|
| // the user to use the browser back button to exit Settings entirely.
|
| - window.history.replaceState(historicState, document.title);
|
| + history.replaceState(historicState, null);
|
| }
|
|
|
| return;
|
|
|