Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/elemHideHitRegistration.js

Issue 5166222576451584: Issue 2264 - Remove deprecated logic from Utils.runAsync() on Firefox (Closed)
Patch Set: Created April 2, 2015, 10:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/contentPolicy.js ('k') | lib/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/elemHideHitRegistration.js
===================================================================
--- a/lib/elemHideHitRegistration.js
+++ b/lib/elemHideHitRegistration.js
@@ -108,7 +108,7 @@
asyncOpen: function(listener, context)
{
let stream = this.open();
- Utils.runAsync(function()
+ Utils.runAsync(() =>
{
try {
listener.onStartRequest(this, context);
@@ -119,7 +119,7 @@
try {
listener.onStopRequest(this, context, Cr.NS_OK);
} catch(e) {}
- }, this);
+ });
},
open: function()
« no previous file with comments | « lib/contentPolicy.js ('k') | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld