| Index: chrome/browser/resources/settings/people_page/change_picture.js
|
| diff --git a/chrome/browser/resources/settings/people_page/change_picture.js b/chrome/browser/resources/settings/people_page/change_picture.js
|
| index 977c4483b043ba79f1470673cefbb1cea35c43ae..6ea1eb945024f90d2db5837c94b6007b38adbc76 100644
|
| --- a/chrome/browser/resources/settings/people_page/change_picture.js
|
| +++ b/chrome/browser/resources/settings/people_page/change_picture.js
|
| @@ -138,9 +138,13 @@ Polymer({
|
|
|
| /** @protected */
|
| currentRouteChanged: function(newRoute) {
|
| - // Reset the selection state when we navigate to this page.
|
| if (newRoute == settings.Route.CHANGE_PICTURE) {
|
| this.browserProxy_.initialize();
|
| +
|
| + // This in needed because we manually clear the selectedItem_ property
|
| + // when navigating away. The selector element doesn't fire its upward
|
| + // data binding unless its selected item has changed.
|
| + this.selectedItem_ = this.$.selector.selectedItem;
|
| } else {
|
| // Ensure we deactivate the camera when we navigate away.
|
| this.selectedItem_ = null;
|
|
|