Addressing post-review comments in r185916
[WebKit-https.git] / PerformanceTests / ShadowDOM / ChangingSelect.html
index 246d4df..7d0ea42 100644 (file)
@@ -18,7 +18,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) {