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

Unified Diff: Source/devtools/front_end/sources/ScopeChainSidebarPane.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/ScopeChainSidebarPane.js
diff --git a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
index affe79cb8f8dd61ca2b6b36e7a592d0f9e5b7a4b..ed08dff16d3210efa620b1c462337fc206d9c248 100644
--- a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
+++ b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
@@ -45,7 +45,7 @@ WebInspector.ScopeChainSidebarPane.prototype = {
this.bodyElement.removeChildren();
if (!callFrame) {
- var infoElement = document.createElement("div");
+ var infoElement = createElement("div");
infoElement.className = "info";
infoElement.textContent = WebInspector.UIString("Not Paused");
this.bodyElement.appendChild(infoElement);
« no previous file with comments | « Source/devtools/front_end/sources/RevisionHistoryView.js ('k') | Source/devtools/front_end/sources/SourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698