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

Unified Diff: Source/devtools/front_end/settings/EditFileSystemDialog.js

Issue 662793002: [DevTools] Replace usages of document with custom functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/devtools/front_end/settings/EditFileSystemDialog.js
diff --git a/Source/devtools/front_end/settings/EditFileSystemDialog.js b/Source/devtools/front_end/settings/EditFileSystemDialog.js
index a3d6068f0624ac33973f76cb1cefb05f7a13e8eb..1903680ef354070a9f6d2808509229b1d53c1f18 100644
--- a/Source/devtools/front_end/settings/EditFileSystemDialog.js
+++ b/Source/devtools/front_end/settings/EditFileSystemDialog.js
@@ -38,7 +38,7 @@ WebInspector.EditFileSystemDialog = function(fileSystemPath)
WebInspector.DialogDelegate.call(this);
this._fileSystemPath = fileSystemPath;
- this.element = document.createElementWithClass("div", "dialog-contents");
+ this.element = createElementWithClass("div", "dialog-contents");
var header = this.element.createChild("div", "header");
var headerText = header.createChild("span");
« no previous file with comments | « Source/devtools/front_end/screencast/ScreencastView.js ('k') | Source/devtools/front_end/settings/FrameworkBlackboxDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698