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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/search_box.js

Issue 1304883005: Make |context| passed to queryRequiredElement optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whoops Created 5 years, 4 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: ui/file_manager/file_manager/foreground/js/ui/search_box.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/search_box.js b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
index 171dfcae1cf4910ce4f4dcb5430dbe7da7b30613..ff52ec5ac1b48b2ef5aaf1728a54b8048d4db076 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/search_box.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
@@ -39,7 +39,7 @@ function SearchBox(element, searchButton, noResultMessage) {
*/
this.searchButtonToggleRipple_ =
/** @type {!FilesToggleRipple} */ (queryRequiredElement(
- this.searchButton, 'files-toggle-ripple'));
+ 'files-toggle-ripple', this.searchButton));
/**
* No result message.
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/progress_center_panel.js ('k') | ui/file_manager/gallery/js/gallery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698