Consolidate iOS pasteboard test failures.
[WebKit-https.git] / PerformanceTests / ShadowDOM / ShadowReprojection.html
index 2663aff993a8f9d329c8bb9aae087ad12704877b..dcc129461add55225ae948b392cf0bf4ba286c40 100644 (file)
@@ -25,11 +25,11 @@ function setup()
         host.appendChild(div);
     }
 
-    var shadowRoot = new WebKitShadowRoot(host);
+    var shadowRoot = host.webkitCreateShadowRoot();
     shadowRoot.innerHTML = '<div id="host2"><shadow></shadow></div>';
 
     var host2 = shadowRoot.getElementById('host2');
-    var shadowRoot2 = new WebKitShadowRoot(host2);
+    var shadowRoot2 = host2.webkitCreateShadowRoot();
     shadowRoot2.innerHTML = '<content select=".selected"></content>';
 }