Index: Source/devtools/front_end/extensions/ExtensionAuditCategory.js |
diff --git a/Source/devtools/front_end/extensions/ExtensionAuditCategory.js b/Source/devtools/front_end/extensions/ExtensionAuditCategory.js |
index e2f7baaeed3081e7bdb7f456390fa4293c445170..ddbb45cf29a5296b77c43de9e61eff3c2841237e 100644 |
--- a/Source/devtools/front_end/extensions/ExtensionAuditCategory.js |
+++ b/Source/devtools/front_end/extensions/ExtensionAuditCategory.js |
@@ -181,7 +181,7 @@ WebInspector.ExtensionAuditFormatters = { |
*/ |
object: function(expression, title, evaluateOptions) |
{ |
- var parentElement = document.createElement("div"); |
+ var parentElement = createElement("div"); |
function onEvaluate(remoteObject) |
{ |
var section = new WebInspector.ObjectPropertiesSection(remoteObject, title); |
@@ -201,7 +201,7 @@ WebInspector.ExtensionAuditFormatters = { |
*/ |
node: function(expression, evaluateOptions) |
{ |
- var parentElement = document.createElement("div"); |
+ var parentElement = createElement("div"); |
this.evaluate(expression, evaluateOptions, onEvaluate); |
/** |