| Index: Source/core/html/shadow/DetailsMarkerControl.h
|
| diff --git a/Source/core/html/shadow/DetailsMarkerControl.h b/Source/core/html/shadow/DetailsMarkerControl.h
|
| index 1b1bf04fe094b5572cee23029d286bda97ff0351..bba5065ef63c18e894fd291f6c63e903935b9739 100644
|
| --- a/Source/core/html/shadow/DetailsMarkerControl.h
|
| +++ b/Source/core/html/shadow/DetailsMarkerControl.h
|
| @@ -40,8 +40,8 @@ class HTMLSummaryElement;
|
|
|
| class DetailsMarkerControl FINAL : public HTMLDivElement {
|
| public:
|
| - DetailsMarkerControl(Document*);
|
| - static PassRefPtr<DetailsMarkerControl> create(Document*);
|
| + DetailsMarkerControl(Document&);
|
| + static PassRefPtr<DetailsMarkerControl> create(Document&);
|
|
|
| private:
|
| virtual RenderObject* createRenderer(RenderStyle*);
|
| @@ -50,7 +50,7 @@ private:
|
| HTMLSummaryElement* summaryElement();
|
| };
|
|
|
| -inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document* document)
|
| +inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document& document)
|
| {
|
| RefPtr<DetailsMarkerControl> element = adoptRef(new DetailsMarkerControl(document));
|
| element->setPart(AtomicString("-webkit-details-marker", AtomicString::ConstructFromLiteral));
|
|
|