Index: LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html |
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html b/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html |
index 48bee82e02e131d9fcf066190896d87038e8d7c7..cb82e0b1485c0a8d10325c198a8148fcde3018c6 100644 |
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html |
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html |
@@ -4,7 +4,6 @@ if (window.testRunner) |
testRunner.dumpAsText(); |
if (window.internals) |
internals.settings.setUnifiedTextCheckerEnabled(true); |
-Element.prototype.createShadowRoot = Element.prototype.webkitCreateShadowRoot || Element.prototype.createShadowRoot; |
onload = function() { |
var myShadowRoot = document.getElementById('sample').createShadowRoot(); |
var myShadowElement = document.createElement('defs'); |