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

Unified Diff: ui/file_manager/gallery/js/image_editor/image_editor.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
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/image_editor/image_editor.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_editor.js b/ui/file_manager/gallery/js/image_editor/image_editor.js
index 8116f1b7b9353377f7bc3b4cd658003cb4a58ee7..c0ea23e08e78bbac0dcc620bbe54e91546bf9d8e 100644
--- a/ui/file_manager/gallery/js/image_editor/image_editor.js
+++ b/ui/file_manager/gallery/js/image_editor/image_editor.js
@@ -109,14 +109,14 @@ function ImageEditor(
* @const
*/
this.exitButton_ = /** @type {!HTMLElement} */
- (queryRequiredElement(document, '.edit-mode-toolbar paper-button.exit'));
+ (queryRequiredElement('.edit-mode-toolbar paper-button.exit'));
this.exitButton_.addEventListener('click', this.onExitClicked_.bind(this));
/**
* @private {!FilesToast}
*/
this.filesToast_ = /** @type {!FilesToast}*/
- (queryRequiredElement(document, 'files-toast'));
+ (queryRequiredElement('files-toast'));
}
ImageEditor.prototype.__proto__ = cr.EventTarget.prototype;
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698