Index: Source/core/html/HTMLParagraphElement.h |
diff --git a/Source/core/html/HTMLParagraphElement.h b/Source/core/html/HTMLParagraphElement.h |
index fd0110b8c25b110ad81a2d75c4a6775c7cd1d480..9e80fda87f907152258fcb324e04098d1fcd8df3 100644 |
--- a/Source/core/html/HTMLParagraphElement.h |
+++ b/Source/core/html/HTMLParagraphElement.h |
@@ -29,11 +29,11 @@ namespace WebCore { |
class HTMLParagraphElement FINAL : public HTMLElement { |
public: |
- static PassRefPtr<HTMLParagraphElement> create(Document*); |
- static PassRefPtr<HTMLParagraphElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<HTMLParagraphElement> create(Document&); |
+ static PassRefPtr<HTMLParagraphElement> create(const QualifiedName&, Document&); |
private: |
- HTMLParagraphElement(const QualifiedName&, Document*); |
+ HTMLParagraphElement(const QualifiedName&, Document&); |
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE; |