Index: third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html |
index a4674ab45c226cf8d0ee70077a1d24fa7ff82e97..8efe7163a9b1b401f1fdb0badd1241098c58d451 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-method-with-delegatesFocus.html |
@@ -29,7 +29,7 @@ function registerShadow(templateId, tagName) { |
var proto = Object.create(HTMLElement.prototype); |
proto.createdCallback = function() { |
var delegatesFocus = this.hasAttribute('delegatesFocus'); |
- this.createShadowRoot({'delegatesFocus': delegatesFocus}).appendChild( |
+ this.attachShadow({'delegatesFocus': delegatesFocus}).appendChild( |
document.importNode(template.content, true)); |
}; |
document.registerElement(tagName, { prototype: proto }); |