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

Unified Diff: Source/devtools/front_end/sources/CallStackSidebarPane.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/CallStackSidebarPane.js
diff --git a/Source/devtools/front_end/sources/CallStackSidebarPane.js b/Source/devtools/front_end/sources/CallStackSidebarPane.js
index 91896659b45e24d5c8bf1cdb7f30dd12ddedab41..daa5d045e0f43a662a089c026fd7ab5e2e39a508 100644
--- a/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -85,7 +85,7 @@ WebInspector.CallStackSidebarPane.prototype = {
if (topStackHidden)
this._revealHiddenPlacards();
if (this._hiddenPlacards) {
- var element = document.createElementWithClass("div", "hidden-placards-message");
+ var element = createElementWithClass("div", "hidden-placards-message");
if (this._hiddenPlacards === 1)
element.textContent = WebInspector.UIString("1 stack frame is hidden (black-boxed).");
else

Powered by Google App Engine
This is Rietveld 408576698