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

Unified Diff: Source/devtools/front_end/sources/Placard.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/Placard.js
diff --git a/Source/devtools/front_end/sources/Placard.js b/Source/devtools/front_end/sources/Placard.js
index bb233d2b6c7ad1c95b80ec0bf2898aef8e2469f5..9cc14ad75b7429ecfb6806fb3f30d4b6ebd7634d 100644
--- a/Source/devtools/front_end/sources/Placard.js
+++ b/Source/devtools/front_end/sources/Placard.js
@@ -31,7 +31,7 @@
*/
WebInspector.Placard = function(title, subtitle)
{
- this.element = document.createElementWithClass("div", "placard");
+ this.element = createElementWithClass("div", "placard");
this.element.placard = this;
this.subtitleElement = this.element.createChild("div", "subtitle");
« no previous file with comments | « Source/devtools/front_end/sources/JavaScriptSourceFrame.js ('k') | Source/devtools/front_end/sources/RevisionHistoryView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698