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

Unified Diff: Source/devtools/front_end/ui/FilterBar.js

Issue 727823002: [DevTools] Ban getSelection, requestAnimationFrame, cancelAnimationFrame global functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/devtools/front_end/ui/FilterBar.js
diff --git a/Source/devtools/front_end/ui/FilterBar.js b/Source/devtools/front_end/ui/FilterBar.js
index 802d5af1e2441829827398a00139f2f7bfd57efd..144cb3f73ccd31fde1751ae9bae338955bd8999e 100644
--- a/Source/devtools/front_end/ui/FilterBar.js
+++ b/Source/devtools/front_end/ui/FilterBar.js
@@ -282,7 +282,7 @@ WebInspector.TextFilterUI.prototype = {
*/
_onFilterFieldManualFocus: function(event)
{
- WebInspector.setCurrentFocusElement(event.target);
+ WebInspector.setCurrentFocusElement(/** @type {?Node} */ (event.target));
},
/**

Powered by Google App Engine
This is Rietveld 408576698