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

Unified Diff: Source/devtools/front_end/ui/Popover.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/PieChart.js ('k') | Source/devtools/front_end/ui/ProgressIndicator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Popover.js
diff --git a/Source/devtools/front_end/ui/Popover.js b/Source/devtools/front_end/ui/Popover.js
index 4b564a3b751288b76228f32f7240289fc03766d9..d2d429768355e3312460bebc150a789e9a9b3124 100644
--- a/Source/devtools/front_end/ui/Popover.js
+++ b/Source/devtools/front_end/ui/Popover.js
@@ -38,7 +38,7 @@ WebInspector.Popover = function(popoverHelper)
WebInspector.View.call(this);
this.markAsRoot();
this.element.className = WebInspector.Popover._classNamePrefix; // Override
- this._containerElement = document.createElementWithClass("div", "fill popover-container");
+ this._containerElement = createElementWithClass("div", "fill popover-container");
this._popupArrowElement = this.element.createChild("div", "arrow");
this._contentDiv = this.element.createChild("div", "content");
« no previous file with comments | « Source/devtools/front_end/ui/PieChart.js ('k') | Source/devtools/front_end/ui/ProgressIndicator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698