| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2012 Apple Inc. All rights | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2012 Apple Inc. All rights |
| 7 * reserved. | 7 * reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "core/dom/Attr.h" | 25 #include "core/dom/Attr.h" |
| 26 | 26 |
| 27 #include "bindings/core/v8/ExceptionState.h" | 27 #include "bindings/core/v8/ExceptionState.h" |
| 28 #include "core/dom/Document.h" | 28 #include "core/dom/Document.h" |
| 29 #include "core/dom/Element.h" | 29 #include "core/dom/Element.h" |
| 30 #include "core/dom/Text.h" | 30 #include "core/dom/Text.h" |
| 31 #include "core/events/ScopedEventQueue.h" | 31 #include "core/events/ScopedEventQueue.h" |
| 32 #include "wtf/text/AtomicString.h" | 32 #include "platform/wtf/text/AtomicString.h" |
| 33 #include "wtf/text/StringBuilder.h" | 33 #include "platform/wtf/text/StringBuilder.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 using namespace HTMLNames; | 37 using namespace HTMLNames; |
| 38 | 38 |
| 39 Attr::Attr(Element& element, const QualifiedName& name) | 39 Attr::Attr(Element& element, const QualifiedName& name) |
| 40 : Node(&element.GetDocument(), kCreateOther), | 40 : Node(&element.GetDocument(), kCreateOther), |
| 41 element_(this, &element), | 41 element_(this, &element), |
| 42 name_(name) {} | 42 name_(name) {} |
| 43 | 43 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 visitor->Trace(element_); | 117 visitor->Trace(element_); |
| 118 Node::Trace(visitor); | 118 Node::Trace(visitor); |
| 119 } | 119 } |
| 120 | 120 |
| 121 DEFINE_TRACE_WRAPPERS(Attr) { | 121 DEFINE_TRACE_WRAPPERS(Attr) { |
| 122 visitor->TraceWrappers(element_); | 122 visitor->TraceWrappers(element_); |
| 123 Node::TraceWrappers(visitor); | 123 Node::TraceWrappers(visitor); |
| 124 } | 124 } |
| 125 | 125 |
| 126 } // namespace blink | 126 } // namespace blink |
| OLD | NEW |