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

Unified Diff: Source/devtools/front_end/components/NativeBreakpointsSidebarPane.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/components/NativeBreakpointsSidebarPane.js
diff --git a/Source/devtools/front_end/components/NativeBreakpointsSidebarPane.js b/Source/devtools/front_end/components/NativeBreakpointsSidebarPane.js
index a3ac404651acb932f26d7cf86829a1900f98de86..c3383963e3c8e4371714fccaf83eaebec92f2211 100644
--- a/Source/devtools/front_end/components/NativeBreakpointsSidebarPane.js
+++ b/Source/devtools/front_end/components/NativeBreakpointsSidebarPane.js
@@ -37,10 +37,10 @@ WebInspector.NativeBreakpointsSidebarPane = function(title)
WebInspector.SidebarPane.call(this, title);
this.registerRequiredCSS("breakpointsList.css");
- this.listElement = document.createElement("ol");
+ this.listElement = createElement("ol");
this.listElement.className = "breakpoint-list";
- this.emptyElement = document.createElement("div");
+ this.emptyElement = createElement("div");
this.emptyElement.className = "info";
this.emptyElement.textContent = WebInspector.UIString("No Breakpoints");
« no previous file with comments | « Source/devtools/front_end/components/InspectorView.js ('k') | Source/devtools/front_end/components/ObjectPopoverHelper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698