Index: Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
index 075eb774ce1ba8e4c09527736f4377c3c11e667e..fc40ea28119bf6fcbc608b8217aa42c25d944a7c 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -198,11 +198,11 @@ void ShadowRoot::setResetStyleInheritance(bool value) |
setNeedsStyleRecalc(); |
} |
-void ShadowRoot::attach() |
+void ShadowRoot::attach(const AttachContext& context) |
{ |
StyleResolver* styleResolver = document()->styleResolver(); |
styleResolver->pushParentShadowRoot(this); |
- DocumentFragment::attach(); |
+ DocumentFragment::attach(context); |
styleResolver->popParentShadowRoot(this); |
} |