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

Unified Diff: Source/devtools/front_end/bindings/FileUtils.js

Issue 675753002: [DevTools] Drop "ui" module from toolbox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 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 | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/bindings/Linkifier.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/bindings/FileUtils.js
diff --git a/Source/devtools/front_end/bindings/FileUtils.js b/Source/devtools/front_end/bindings/FileUtils.js
index 6951a0cc864079b8c17bca8d88994a056ae2a2d9..88089d66af17f5b8df6f768a52415cdb332c30f8 100644
--- a/Source/devtools/front_end/bindings/FileUtils.js
+++ b/Source/devtools/front_end/bindings/FileUtils.js
@@ -198,11 +198,9 @@ WebInspector.ChunkedFileReader.prototype = {
/**
* @param {function(!File)} callback
* @return {!Node}
- * // FIXME: remove this suppression (crbug.com/425498).
- * @suppressGlobalPropertiesCheck
*/
WebInspector.createFileSelectorElement = function(callback) {
- var fileSelectorElement = document.createElement("input");
+ var fileSelectorElement = createElement("input");
fileSelectorElement.type = "file";
fileSelectorElement.style.display = "none";
fileSelectorElement.setAttribute("tabindex", -1);
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/bindings/Linkifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698