summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLDocument.h')
-rw-r--r--WebCore/wml/WMLDocument.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/WebCore/wml/WMLDocument.h b/WebCore/wml/WMLDocument.h
index 9053518..fb3e62e 100644
--- a/WebCore/wml/WMLDocument.h
+++ b/WebCore/wml/WMLDocument.h
@@ -34,7 +34,7 @@ class WMLDocument : public Document {
public:
static PassRefPtr<WMLDocument> create(Frame* frame)
{
- return adoptRef(new WMLDocument(frame));
+ return new WMLDocument(frame);
}
virtual ~WMLDocument();
@@ -44,8 +44,6 @@ public:
bool initialize(bool aboutToFinishParsing = false);
- WMLCardElement* activeCard() const { return m_activeCard; }
-
private:
WMLDocument(Frame*);
WMLCardElement* m_activeCard;