Large array shouldn't be slow
[WebKit-https.git] / PerformanceTests / ShadowDOM / ChangingClassNameShadowDOM.html
index 128c92d..5561b56 100644 (file)
@@ -17,7 +17,7 @@ function setup()
 {
     var nDivs = numDivsInHost;
 
-    window.shadowRoot = new WebKitShadowRoot(host);
+    window.shadowRoot = host.webkitCreateShadowRoot();
     shadowRoot.innerHTML = '<h2>Selected</h2><div id="selected"><content select=".selected"></content></div><h2>NonSelected</h2><div id="nonselected"><content></content></div>';
 
     for (var i = 0; i < nDivs; ++i) {