Index: chrome/test/data/webui/settings/people_page_change_picture_test.js |
diff --git a/chrome/test/data/webui/settings/people_page_change_picture_test.js b/chrome/test/data/webui/settings/people_page_change_picture_test.js |
index 627c43ba7134354197f32aa215cb96ec8f5b1b4f..e49af7e092f89d90394592235894e21d5e5973bd 100644 |
--- a/chrome/test/data/webui/settings/people_page_change_picture_test.js |
+++ b/chrome/test/data/webui/settings/people_page_change_picture_test.js |
@@ -103,7 +103,7 @@ cr.define('settings_people_page_change_picture', function() { |
discardControlBar = changePicture.$.discardControlBar; |
assertTrue(!!discardControlBar); |
- changePicture.currentRouteChanged(settings.Route.CHANGE_PICTURE); |
+ changePicture.currentRouteChanged(settings.routes.CHANGE_PICTURE); |
return browserProxy.whenCalled('initialize').then(function() { |
Polymer.dom.flush(); |
@@ -139,7 +139,7 @@ cr.define('settings_people_page_change_picture', function() { |
expectTrue(discardControlBar.hidden); |
// Ensure that the camera is deactivated if user navigates away. |
- changePicture.currentRouteChanged(settings.Route.BASIC); |
+ changePicture.currentRouteChanged(settings.routes.BASIC); |
expectFalse(crCamera.cameraActive); |
}); |
@@ -160,8 +160,8 @@ cr.define('settings_people_page_change_picture', function() { |
// Ensure that the selection is restored after navigating away and |
// then back to the subpage. |
- changePicture.currentRouteChanged(settings.Route.BASIC); |
- changePicture.currentRouteChanged(settings.Route.CHANGE_PICTURE); |
+ changePicture.currentRouteChanged(settings.routes.BASIC); |
+ changePicture.currentRouteChanged(settings.routes.CHANGE_PICTURE); |
expectEquals(ChangePictureSelectionTypes.PROFILE, |
changePicture.selectedItem_.dataset.type); |
}); |