| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Lesser General Public | 5 * modify it under the terms of the GNU Lesser General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 class Document; | 28 class Document; |
| 29 | 29 |
| 30 class DOMParser final : public GarbageCollectedFinalized<DOMParser>, public Scri
ptWrappable { | 30 class DOMParser final : public GarbageCollectedFinalized<DOMParser>, public Scri
ptWrappable { |
| 31 DEFINE_WRAPPERTYPEINFO(); | 31 DEFINE_WRAPPERTYPEINFO(); |
| 32 public: | 32 public: |
| 33 static DOMParser* create(Document& document) | 33 static DOMParser* create(Document& document) |
| 34 { | 34 { |
| 35 return new DOMParser(document); | 35 return new DOMParser(document); |
| 36 } | 36 } |
| 37 | 37 |
| 38 PassRefPtrWillBeRawPtr<Document> parseFromString(const String&, const String
& type); | 38 RawPtr<Document> parseFromString(const String&, const String& type); |
| 39 | 39 |
| 40 DECLARE_TRACE(); | 40 DECLARE_TRACE(); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 explicit DOMParser(Document&); | 43 explicit DOMParser(Document&); |
| 44 | 44 |
| 45 WeakPtrWillBeWeakMember<Document> m_contextDocument; | 45 WeakMember<Document> m_contextDocument; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // DOMParser_h | 50 #endif // DOMParser_h |
| OLD | NEW |