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

Unified Diff: Source/devtools/front_end/sources/AddSourceMapURLDialog.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/sources/AddSourceMapURLDialog.js
diff --git a/Source/devtools/front_end/sources/AddSourceMapURLDialog.js b/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
index 1c475c0ad09766f98621d949a392e9422e8ff7f7..0b6e4810c49c941b87da95935398635e8eda26c7 100644
--- a/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
+++ b/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
@@ -11,7 +11,7 @@ WebInspector.AddSourceMapURLDialog = function(callback)
{
WebInspector.DialogDelegate.call(this);
- this.element = document.createElementWithClass("div", "go-to-line-dialog");
+ this.element = createElementWithClass("div", "go-to-line-dialog");
this.element.createChild("label").textContent = WebInspector.UIString("Source map URL: ");
this._input = this.element.createChild("input");
« no previous file with comments | « Source/devtools/front_end/source_frame/SourceFrame.js ('k') | Source/devtools/front_end/sources/AdvancedSearchView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698