Index: Source/core/dom/shadow/ShadowRoot.h |
diff --git a/Source/core/dom/shadow/ShadowRoot.h b/Source/core/dom/shadow/ShadowRoot.h |
index 9efeaab97d6671f188adb2d4334901f5f229efd9..f7c42ab8590b8fac9655c8b82590dfc7ce3102d5 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.h |
+++ b/Source/core/dom/shadow/ShadowRoot.h |
@@ -55,9 +55,9 @@ public: |
AuthorShadowRoot |
}; |
- static PassRefPtr<ShadowRoot> create(Document& document, ShadowRootType type) |
+ static PassRefPtrWillBeRawPtr<ShadowRoot> create(Document& document, ShadowRootType type) |
{ |
- return adoptRef(new ShadowRoot(document, type)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ShadowRoot(document, type)); |
} |
void recalcStyle(StyleRecalcChange); |