~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/dom/DocumentType.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3
3
 *           (C) 1999 Antti Koivisto (koivisto@kde.org)
4
4
 *           (C) 2001 Dirk Mueller (mueller@kde.org)
5
 
 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
 
5
 * Copyright (C) 2004, 2005, 2006, 2008, 2009 Apple Inc. All rights reserved.
6
6
 *
7
7
 * This library is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU Library General Public
34
34
public:
35
35
    static PassRefPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId)
36
36
    {
37
 
        return new DocumentType(document, name, publicId, systemId);
 
37
        return adoptRef(new DocumentType(document, name, publicId, systemId));
38
38
    }
39
39
 
40
40
    NamedNodeMap* entities() const { return m_entities.get(); }