| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St
ring& target, const String& data) | 39 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St
ring& target, const String& data) |
| 40 : CharacterData(document, data, CreateOther) | 40 : CharacterData(document, data, CreateOther) |
| 41 , m_target(target) | 41 , m_target(target) |
| 42 , m_loading(false) | 42 , m_loading(false) |
| 43 , m_alternate(false) | 43 , m_alternate(false) |
| 44 , m_createdByParser(false) | 44 , m_createdByParser(false) |
| 45 , m_isCSS(false) | 45 , m_isCSS(false) |
| 46 , m_isXSL(false) | 46 , m_isXSL(false) |
| 47 { | 47 { |
| 48 ScriptWrappable::init(this); | |
| 49 } | 48 } |
| 50 | 49 |
| 51 PassRefPtrWillBeRawPtr<ProcessingInstruction> ProcessingInstruction::create(Docu
ment& document, const String& target, const String& data) | 50 PassRefPtrWillBeRawPtr<ProcessingInstruction> ProcessingInstruction::create(Docu
ment& document, const String& target, const String& data) |
| 52 { | 51 { |
| 53 return adoptRefWillBeNoop(new ProcessingInstruction(document, target, data))
; | 52 return adoptRefWillBeNoop(new ProcessingInstruction(document, target, data))
; |
| 54 } | 53 } |
| 55 | 54 |
| 56 ProcessingInstruction::~ProcessingInstruction() | 55 ProcessingInstruction::~ProcessingInstruction() |
| 57 { | 56 { |
| 58 #if !ENABLE(OILPAN) | 57 #if !ENABLE(OILPAN) |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 m_sheet.release()->clearOwnerNode(); | 295 m_sheet.release()->clearOwnerNode(); |
| 297 } | 296 } |
| 298 | 297 |
| 299 void ProcessingInstruction::trace(Visitor* visitor) | 298 void ProcessingInstruction::trace(Visitor* visitor) |
| 300 { | 299 { |
| 301 visitor->trace(m_sheet); | 300 visitor->trace(m_sheet); |
| 302 CharacterData::trace(visitor); | 301 CharacterData::trace(visitor); |
| 303 } | 302 } |
| 304 | 303 |
| 305 } // namespace | 304 } // namespace |
| OLD | NEW |