Index: chrome/browser/resources/settings/about_page/detailed_build_info.js |
diff --git a/chrome/browser/resources/settings/about_page/detailed_build_info.js b/chrome/browser/resources/settings/about_page/detailed_build_info.js |
index 8a5842bf2b867bdd09a29806af9402ee8ae9f2d1..471263b7ec396bfd9886dc60228fbe2b62576304 100644 |
--- a/chrome/browser/resources/settings/about_page/detailed_build_info.js |
+++ b/chrome/browser/resources/settings/about_page/detailed_build_info.js |
@@ -31,9 +31,9 @@ Polymer({ |
var browserProxy = settings.AboutPageBrowserProxyImpl.getInstance(); |
browserProxy.pageReady(); |
- browserProxy.getVersionInfo().then(function(versionInfo) { |
+ browserProxy.getVersionInfo().then(versionInfo => { |
this.versionInfo_ = versionInfo; |
- }.bind(this)); |
+ }); |
this.updateChannelInfo_(); |
}, |
@@ -41,13 +41,13 @@ Polymer({ |
/** @private */ |
updateChannelInfo_: function() { |
var browserProxy = settings.AboutPageBrowserProxyImpl.getInstance(); |
- browserProxy.getChannelInfo().then(function(info) { |
+ browserProxy.getChannelInfo().then(info => { |
// Display the target channel for the 'Currently on' message. |
this.currentlyOnChannelText_ = this.i18n( |
'aboutCurrentlyOnChannel', |
this.i18n(settings.browserChannelToI18nId(info.targetChannel))); |
this.canChangeChannel_ = info.canChangeChannel; |
- }.bind(this)); |
+ }); |
}, |
/** |