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

Unified Diff: Source/devtools/front_end/components/HelpScreen.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/HelpScreen.js
diff --git a/Source/devtools/front_end/components/HelpScreen.js b/Source/devtools/front_end/components/HelpScreen.js
index eec996a337138f55d403562a8d2d4830b586ea24..4cafb90ce3fa0a80265cd44559c5267587342f19 100644
--- a/Source/devtools/front_end/components/HelpScreen.js
+++ b/Source/devtools/front_end/components/HelpScreen.js
@@ -60,7 +60,7 @@ WebInspector.HelpScreen._visibleScreen = null;
WebInspector.HelpScreen.prototype = {
_createCloseButton: function()
{
- var closeButton = document.createElement("div");
+ var closeButton = createElement("div");
closeButton.className = "help-close-button close-button-gray";
closeButton.addEventListener("click", this.hide.bind(this), false);
return closeButton;
« no previous file with comments | « Source/devtools/front_end/components/HandlerRegistry.js ('k') | Source/devtools/front_end/components/InspectorView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698