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

Unified Diff: Source/devtools/front_end/ui/ProgressIndicator.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/ui/Popover.js ('k') | Source/devtools/front_end/ui/SettingsUI.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/ProgressIndicator.js
diff --git a/Source/devtools/front_end/ui/ProgressIndicator.js b/Source/devtools/front_end/ui/ProgressIndicator.js
index e9376801f084f41e6479e4f516e1856bce12e949..38c9b2ed47ac5cd122e77507d9789c97439d9dbd 100644
--- a/Source/devtools/front_end/ui/ProgressIndicator.js
+++ b/Source/devtools/front_end/ui/ProgressIndicator.js
@@ -35,7 +35,7 @@
*/
WebInspector.ProgressIndicator = function()
{
- this.element = document.createElementWithClass("div", "progress-bar-container");
+ this.element = createElementWithClass("div", "progress-bar-container");
this._labelElement = this.element.createChild("span");
this._progressElement = this.element.createChild("progress");
this._stopButton = new WebInspector.StatusBarButton(WebInspector.UIString("Cancel"), "progress-bar-stop-button");
« no previous file with comments | « Source/devtools/front_end/ui/Popover.js ('k') | Source/devtools/front_end/ui/SettingsUI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698