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

Unified Diff: Source/devtools/front_end/extensions/ExtensionView.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/extensions/ExtensionView.js
diff --git a/Source/devtools/front_end/extensions/ExtensionView.js b/Source/devtools/front_end/extensions/ExtensionView.js
index 49a5109ddd870c96d5b7fbe98abb711afb4f4715..f5e52f9945380736ec2cda4641915d352f8218b3 100644
--- a/Source/devtools/front_end/extensions/ExtensionView.js
+++ b/Source/devtools/front_end/extensions/ExtensionView.js
@@ -43,7 +43,7 @@ WebInspector.ExtensionView = function(server, id, src, className)
this._server = server;
this._id = id;
- this._iframe = document.createElement("iframe");
+ this._iframe = createElement("iframe");
this._iframe.addEventListener("load", this._onLoad.bind(this), false);
this._iframe.src = src;
this._iframe.className = className;
« no previous file with comments | « Source/devtools/front_end/extensions/ExtensionServer.js ('k') | Source/devtools/front_end/layers/LayerDetailsView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698