Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: chrome/browser/resources/settings/internet_page/network_proxy.js

Issue 2984843003: MD Settings: Convert all usages of .bind(this) to use ES6 arrow function. (Closed)
Patch Set: Resolve conflicts. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/internet_page/network_proxy.js
diff --git a/chrome/browser/resources/settings/internet_page/network_proxy.js b/chrome/browser/resources/settings/internet_page/network_proxy.js
index 52e7e02fc01c65998a9cc10e6afa41e87f1ac232..190e6decd46ba10344e798f0fa2685ed3de5cbda 100644
--- a/chrome/browser/resources/settings/internet_page/network_proxy.js
+++ b/chrome/browser/resources/settings/internet_page/network_proxy.js
@@ -217,10 +217,10 @@ Polymer({
*/
setProxyAsync_: function(proxy) {
// Set this.proxy_ after dom-repeat has been stamped.
- this.async(function() {
+ this.async(() => {
this.proxy_ = proxy;
this.proxyModified_ = false;
- }.bind(this));
+ });
},
/** @private */

Powered by Google App Engine
This is Rietveld 408576698