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

Unified Diff: Source/devtools/front_end/ui/SidebarPane.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/ui/SidebarPane.js
diff --git a/Source/devtools/front_end/ui/SidebarPane.js b/Source/devtools/front_end/ui/SidebarPane.js
index bccc35e1478bea53bad9c4d98929c918399a5546..0f4507ec464e621caa3846be4a4cbe6f7d79b01a 100644
--- a/Source/devtools/front_end/ui/SidebarPane.js
+++ b/Source/devtools/front_end/ui/SidebarPane.js
@@ -36,7 +36,7 @@ WebInspector.SidebarPane = function(title)
this.setMinimumSize(25, 0);
this.element.className = "sidebar-pane"; // Override
- this.titleElement = document.createElementWithClass("div", "sidebar-pane-toolbar");
+ this.titleElement = createElementWithClass("div", "sidebar-pane-toolbar");
this.bodyElement = this.element.createChild("div", "body");
this._title = title;
this._expandCallback = null;
« no previous file with comments | « Source/devtools/front_end/ui/ShowMoreDataGridNode.js ('k') | Source/devtools/front_end/ui/SidebarTreeElement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698