| Index: chrome/browser/resources/chromeos/mobile_setup.js
|
| diff --git a/chrome/browser/resources/chromeos/mobile_setup.js b/chrome/browser/resources/chromeos/mobile_setup.js
|
| index 73d0a8fa42a435d9129af53c05e4c0a12234a78b..a8995bec18283de316a3afa4d20340d3e075d77d 100644
|
| --- a/chrome/browser/resources/chromeos/mobile_setup.js
|
| +++ b/chrome/browser/resources/chromeos/mobile_setup.js
|
| @@ -132,12 +132,12 @@ cr.define('mobile', function() {
|
| },
|
|
|
| changeState_: function(deviceInfo) {
|
| - var new_state = deviceInfo.state;
|
| - if (this.state_ == new_state)
|
| + var newState = deviceInfo.state;
|
| + if (this.state_ == newState)
|
| return;
|
| var main = $('mainbody');
|
| // Map handler state to UX.
|
| - switch (new_state) {
|
| + switch (newState) {
|
| case MobileSetup.PLAN_ACTIVATION_PAGE_LOADING:
|
| case MobileSetup.PLAN_ACTIVATION_START:
|
| case MobileSetup.PLAN_ACTIVATION_DELAY_OTASP:
|
| @@ -229,7 +229,7 @@ cr.define('mobile', function() {
|
| $('finalStatus').classList.remove('hidden');
|
| break;
|
| }
|
| - this.state_ = new_state;
|
| + this.state_ = newState;
|
| },
|
|
|
| updateDeviceStatus_: function(deviceInfo) {
|
|
|