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

Unified Diff: ui/file_manager/gallery/js/image_editor/test_util.js

Issue 2702403008: Compile more Gallery targets in gyp v2. (Closed)
Patch Set: Added _ suffix to private constant and formatted. Created 3 years, 10 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/gallery/js/image_editor/test_util.js
diff --git a/ui/file_manager/gallery/js/image_editor/test_util.js b/ui/file_manager/gallery/js/image_editor/test_util.js
index 8158e0032c4b2c6ccb7ace36275d418f11876038..1cf706c368dadb26e272a6585cecd80483bb5858 100644
--- a/ui/file_manager/gallery/js/image_editor/test_util.js
+++ b/ui/file_manager/gallery/js/image_editor/test_util.js
@@ -8,7 +8,8 @@
* @return {HTMLCanvasElement}
*/
function getSampleCanvas() {
- var canvas = document.createElement('canvas');
+ var canvas =
+ /** @type {HTMLCanvasElement} */ (document.createElement('canvas'));
canvas.width = 1920;
canvas.height = 1080;
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698