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

Unified Diff: Source/devtools/front_end/profiler/ProfileLauncherView.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/profiler/ProfileLauncherView.js
diff --git a/Source/devtools/front_end/profiler/ProfileLauncherView.js b/Source/devtools/front_end/profiler/ProfileLauncherView.js
index 98a809425b05fa49ab6d6ce54ea55d3a02cb34da..ad7915b9a97c811753e57c3a233b80f80a6cc3d8 100644
--- a/Source/devtools/front_end/profiler/ProfileLauncherView.js
+++ b/Source/devtools/front_end/profiler/ProfileLauncherView.js
@@ -188,7 +188,7 @@ WebInspector.MultiProfileLauncherView.prototype = {
{
var labelElement = this._profileTypeSelectorForm.createChild("label");
labelElement.textContent = profileType.name;
- var optionElement = document.createElement("input");
+ var optionElement = createElement("input");
labelElement.insertBefore(optionElement, labelElement.firstChild);
this._typeIdToOptionElement[profileType.id] = optionElement;
optionElement._profileType = profileType;
« no previous file with comments | « Source/devtools/front_end/profiler/HeapSnapshotView.js ('k') | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698