| Index: Source/core/dom/CDATASection.cpp
|
| diff --git a/Source/core/dom/CDATASection.cpp b/Source/core/dom/CDATASection.cpp
|
| index dd7edfc0a564f93fa6f3bac9578509dc5b91c14c..ec61f0995a01983f30e8a0d0843fc4c8538d21ba 100644
|
| --- a/Source/core/dom/CDATASection.cpp
|
| +++ b/Source/core/dom/CDATASection.cpp
|
| @@ -26,13 +26,13 @@
|
|
|
| namespace WebCore {
|
|
|
| -inline CDATASection::CDATASection(Document* document, const String& data)
|
| +inline CDATASection::CDATASection(Document& document, const String& data)
|
| : Text(document, data, CreateText)
|
| {
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<CDATASection> CDATASection::create(Document* document, const String& data)
|
| +PassRefPtr<CDATASection> CDATASection::create(Document& document, const String& data)
|
| {
|
| return adoptRef(new CDATASection(document, data));
|
| }
|
| @@ -54,7 +54,7 @@ bool CDATASection::childTypeAllowed(NodeType) const
|
|
|
| PassRefPtr<Text> CDATASection::cloneWithData(const String& data)
|
| {
|
| - return create(&document(), data);
|
| + return create(document(), data);
|
| }
|
|
|
| } // namespace WebCore
|
|
|