| Index: Source/core/html/shadow/HTMLShadowElement.cpp
|
| diff --git a/Source/core/html/shadow/HTMLShadowElement.cpp b/Source/core/html/shadow/HTMLShadowElement.cpp
|
| index 1e2aa45d3855c7ede80743237722585a348bdcfa..a6cf5298a6955022edc171388550002866b60847 100644
|
| --- a/Source/core/html/shadow/HTMLShadowElement.cpp
|
| +++ b/Source/core/html/shadow/HTMLShadowElement.cpp
|
| @@ -38,14 +38,14 @@ namespace WebCore {
|
|
|
| class Document;
|
|
|
| -inline HTMLShadowElement::HTMLShadowElement(const QualifiedName& tagName, Document* document)
|
| +inline HTMLShadowElement::HTMLShadowElement(const QualifiedName& tagName, Document& document)
|
| : InsertionPoint(tagName, document)
|
| {
|
| ASSERT(hasTagName(HTMLNames::shadowTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLShadowElement> HTMLShadowElement::create(const QualifiedName& tagName, Document* document)
|
| +PassRefPtr<HTMLShadowElement> HTMLShadowElement::create(const QualifiedName& tagName, Document& document)
|
| {
|
| return adoptRef(new HTMLShadowElement(tagName, document));
|
| }
|
|
|