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

Unified Diff: Source/devtools/front_end/components/PropertiesSection.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/components/PropertiesSection.js
diff --git a/Source/devtools/front_end/components/PropertiesSection.js b/Source/devtools/front_end/components/PropertiesSection.js
index 9a6d4cf3362353aad8d683d5b9250b32266567d5..81a7abb8f3d5c1ab550997fa9720d8ddbbad05b0 100644
--- a/Source/devtools/front_end/components/PropertiesSection.js
+++ b/Source/devtools/front_end/components/PropertiesSection.js
@@ -38,7 +38,7 @@ WebInspector.PropertiesSection = function(title, subtitle)
WebInspector.Section.call(this, title, subtitle);
this.headerElement.classList.add("monospace");
- this.propertiesElement = document.createElement("ol");
+ this.propertiesElement = createElement("ol");
this.propertiesElement.className = "properties properties-tree monospace";
this.propertiesTreeOutline = new TreeOutline(this.propertiesElement, true);
this.propertiesTreeOutline.setFocusable(false);
« no previous file with comments | « Source/devtools/front_end/components/OverviewGrid.js ('k') | Source/devtools/front_end/components/Section.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698