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

Unified Diff: Source/devtools/front_end/ui/Checkbox.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
« no previous file with comments | « Source/devtools/front_end/toolbox/OverridesUI.js ('k') | Source/devtools/front_end/ui/DOMExtension.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Checkbox.js
diff --git a/Source/devtools/front_end/ui/Checkbox.js b/Source/devtools/front_end/ui/Checkbox.js
index 07a9fd7d16e20d38833f1dca3ab2c4df64953a1e..064e306fe54d017df48823f00f1d634ae46afecc 100644
--- a/Source/devtools/front_end/ui/Checkbox.js
+++ b/Source/devtools/front_end/ui/Checkbox.js
@@ -31,7 +31,7 @@
*/
WebInspector.Checkbox = function(label, className, tooltip)
{
- this.element = document.createElementWithClass("label", className);
+ this.element = createElementWithClass("label", className);
this._inputElement = this.element.createChild("input");
this._inputElement.type = "checkbox";
this.element.createTextChild(label);
« no previous file with comments | « Source/devtools/front_end/toolbox/OverridesUI.js ('k') | Source/devtools/front_end/ui/DOMExtension.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698