Index: Source/devtools/front_end/devices/DevicesView.js |
diff --git a/Source/devtools/front_end/devices/DevicesView.js b/Source/devtools/front_end/devices/DevicesView.js |
index 6e731a3f22d41ae4f4fa630b818622cf5d33ddb4..f1b5364abf791b73a3f5774b04f61f466b2ced08 100644 |
--- a/Source/devtools/front_end/devices/DevicesView.js |
+++ b/Source/devtools/front_end/devices/DevicesView.js |
@@ -147,7 +147,7 @@ WebInspector.DevicesView.prototype = { |
var incompatibleVersion = browser.hasOwnProperty("compatibleVersion") && !browser.compatibleVersion; |
var browserSection = deviceSection.querySelector("#" + sanitizeForId(browser.id)); |
if (!browserSection) { |
- browserSection = document.createElementWithClass("div", "browser"); |
+ browserSection = createElementWithClass("div", "browser"); |
browserSection.id = sanitizeForId(browser.id); |
insertChildSortedById(deviceSection, browserSection); |