| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "platform/text/PlatformLocale.h" | 64 #include "platform/text/PlatformLocale.h" |
| 65 #include "wtf/text/StringBuilder.h" | 65 #include "wtf/text/StringBuilder.h" |
| 66 | 66 |
| 67 namespace blink { | 67 namespace blink { |
| 68 | 68 |
| 69 using namespace HTMLNames; | 69 using namespace HTMLNames; |
| 70 | 70 |
| 71 AXNodeObject::AXNodeObject(Node* node, AXObjectCacheImpl& axObjectCache) | 71 AXNodeObject::AXNodeObject(Node* node, AXObjectCacheImpl& axObjectCache) |
| 72 : AXObject(axObjectCache), | 72 : AXObject(axObjectCache), |
| 73 m_ariaRole(UnknownRole), | 73 m_ariaRole(UnknownRole), |
| 74 m_childrenDirty(false) | 74 m_childrenDirty(false), |
| 75 #if ENABLE(ASSERT) | 75 #if ENABLE(ASSERT) |
| 76 , | 76 m_initialized(false), |
| 77 m_initialized(false) | |
| 78 #endif | 77 #endif |
| 79 , | |
| 80 m_node(node) { | 78 m_node(node) { |
| 81 } | 79 } |
| 82 | 80 |
| 83 AXNodeObject* AXNodeObject::create(Node* node, | 81 AXNodeObject* AXNodeObject::create(Node* node, |
| 84 AXObjectCacheImpl& axObjectCache) { | 82 AXObjectCacheImpl& axObjectCache) { |
| 85 return new AXNodeObject(node, axObjectCache); | 83 return new AXNodeObject(node, axObjectCache); |
| 86 } | 84 } |
| 87 | 85 |
| 88 AXNodeObject::~AXNodeObject() { | 86 AXNodeObject::~AXNodeObject() { |
| 89 ASSERT(!m_node); | 87 ASSERT(!m_node); |
| (...skipping 2866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2956 } | 2954 } |
| 2957 return placeholder; | 2955 return placeholder; |
| 2958 } | 2956 } |
| 2959 | 2957 |
| 2960 DEFINE_TRACE(AXNodeObject) { | 2958 DEFINE_TRACE(AXNodeObject) { |
| 2961 visitor->trace(m_node); | 2959 visitor->trace(m_node); |
| 2962 AXObject::trace(visitor); | 2960 AXObject::trace(visitor); |
| 2963 } | 2961 } |
| 2964 | 2962 |
| 2965 } // namespace blink | 2963 } // namespace blink |
| OLD | NEW |