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

Unified Diff: mojo/public/js/connection.js

Issue 1971603002: Bind former arrow function in connection.js to this. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-enable test. Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/connection.js
diff --git a/mojo/public/js/connection.js b/mojo/public/js/connection.js
index 214f8077a7ed684347b6443b66db3df3ba107913..cdf99ce8c3da9107cb3542794ad4bc0e6bbe02aa 100644
--- a/mojo/public/js/connection.js
+++ b/mojo/public/js/connection.js
@@ -29,7 +29,7 @@ define("mojo/public/js/connection", [
if (StubBindings(this.local) &&
StubBindings(this.local).connectionErrorHandler)
StubBindings(this.local).connectionErrorHandler();
- });
+ }.bind(this));
if (this.remote)
this.remote.receiver_ = router;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698