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

Unified Diff: chrome/content/ui/filters-search.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 | « chrome/content/ui/filters.xul ('k') | chrome/content/ui/filters-subscriptionactions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/filters-search.js
===================================================================
--- a/chrome/content/ui/filters-search.js
+++ b/chrome/content/ui/filters-search.js
@@ -127,10 +127,10 @@
if (oldFocus)
{
oldFocus.focus();
- Utils.runAsync(oldFocus.focus, oldFocus);
+ Utils.runAsync(() => oldFocus.focus());
}
- Utils.runAsync(findText, null, text, direction, direction == 1 ? -1 : subscription.filters.length);
+ Utils.runAsync(() => findText(text, direction, direction == 1 ? -1 : subscription.filters.length));
return result;
}
}
« no previous file with comments | « chrome/content/ui/filters.xul ('k') | chrome/content/ui/filters-subscriptionactions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld