| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Company 100, Inc. All rights reserved. | 2 * Copyright (C) 2012 Company 100, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 || tagName == HTMLNames::templateTag | 202 || tagName == HTMLNames::templateTag |
| 203 || tagName == HTMLNames::textareaTag | 203 || tagName == HTMLNames::textareaTag |
| 204 || tagName == HTMLNames::thTag | 204 || tagName == HTMLNames::thTag |
| 205 || tagName == HTMLNames::titleTag | 205 || tagName == HTMLNames::titleTag |
| 206 || tagName == HTMLNames::trTag | 206 || tagName == HTMLNames::trTag |
| 207 || tagName == HTMLNames::ulTag | 207 || tagName == HTMLNames::ulTag |
| 208 || tagName == HTMLNames::wbrTag | 208 || tagName == HTMLNames::wbrTag |
| 209 || tagName == HTMLNames::xmpTag; | 209 || tagName == HTMLNames::xmpTag; |
| 210 } | 210 } |
| 211 | 211 |
| 212 void trace(Visitor* visitor) { visitor->trace(m_node); } | 212 DEFINE_INLINE_TRACE() { visitor->trace(m_node); } |
| 213 | 213 |
| 214 private: | 214 private: |
| 215 HTMLStackItem(PassRefPtrWillBeRawPtr<ContainerNode> node, ItemType type) | 215 HTMLStackItem(PassRefPtrWillBeRawPtr<ContainerNode> node, ItemType type) |
| 216 : m_node(node) | 216 : m_node(node) |
| 217 { | 217 { |
| 218 switch (type) { | 218 switch (type) { |
| 219 case ItemForDocumentFragmentNode: | 219 case ItemForDocumentFragmentNode: |
| 220 m_isDocumentFragmentNode = true; | 220 m_isDocumentFragmentNode = true; |
| 221 break; | 221 break; |
| 222 case ItemForContextElement: | 222 case ItemForContextElement: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 240 | 240 |
| 241 AtomicString m_tokenLocalName; | 241 AtomicString m_tokenLocalName; |
| 242 Vector<Attribute> m_tokenAttributes; | 242 Vector<Attribute> m_tokenAttributes; |
| 243 AtomicString m_namespaceURI; | 243 AtomicString m_namespaceURI; |
| 244 bool m_isDocumentFragmentNode; | 244 bool m_isDocumentFragmentNode; |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 } // namespace blink | 247 } // namespace blink |
| 248 | 248 |
| 249 #endif // HTMLStackItem_h | 249 #endif // HTMLStackItem_h |
| OLD | NEW |