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

Unified Diff: Source/devtools/front_end/sources/UISourceCodeFrame.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/UISourceCodeFrame.js
diff --git a/Source/devtools/front_end/sources/UISourceCodeFrame.js b/Source/devtools/front_end/sources/UISourceCodeFrame.js
index fb1875e845c07357e9ede61a016eff4fb1b91be5..9927e3ceeb8e91877e3abe6a6bd065ea6d8d29a3 100644
--- a/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -216,7 +216,7 @@ WebInspector.UISourceCodeFrame.prototype = {
*/
WebInspector.UISourceCodeFrame.Infobar = function(level, message)
{
- this.element = document.createElementWithClass("div", "source-frame-infobar source-frame-infobar-" + level);
+ this.element = createElementWithClass("div", "source-frame-infobar source-frame-infobar-" + level);
this._mainRow = this.element.createChild("div", "source-frame-infobar-main-row");
this._detailsContainer = this.element.createChild("span", "source-frame-infobar-details-container");
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698