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

Unified Diff: Source/devtools/front_end/elements/PlatformFontsSidebarPane.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/elements/PlatformFontsSidebarPane.js
diff --git a/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js b/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js
index e6a9bada6d749453a40db896cddc426d327344f1..80faf46b2cbfbd78f856bc9054da41a1eb58431f 100644
--- a/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js
+++ b/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js
@@ -37,7 +37,7 @@ WebInspector.PlatformFontsSidebarPane = function()
WebInspector.SidebarPane.call(this, WebInspector.UIString("Fonts"));
this.element.classList.add("platform-fonts");
- this._sectionTitle = document.createElementWithClass("div", "sidebar-separator");
+ this._sectionTitle = createElementWithClass("div", "sidebar-separator");
this.element.insertBefore(this._sectionTitle, this.bodyElement);
this._sectionTitle.textContent = WebInspector.UIString("Rendered Fonts");
this._fontStatsSection = this.bodyElement.createChild("div", "stats-section");
« no previous file with comments | « Source/devtools/front_end/elements/MetricsSidebarPane.js ('k') | Source/devtools/front_end/elements/Spectrum.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698