| 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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 { | 177 { |
| 178 #if ENABLE(OILPAN) | 178 #if ENABLE(OILPAN) |
| 179 ASSERT(m_didCallDestroy); | 179 ASSERT(m_didCallDestroy); |
| 180 #endif | 180 #endif |
| 181 #ifndef NDEBUG | 181 #ifndef NDEBUG |
| 182 renderObjectCounter.decrement(); | 182 renderObjectCounter.decrement(); |
| 183 #endif | 183 #endif |
| 184 --s_instanceCount; | 184 --s_instanceCount; |
| 185 } | 185 } |
| 186 | 186 |
| 187 void RenderObject::trace(Visitor* visitor) | |
| 188 { | |
| 189 visitor->trace(m_node); | |
| 190 visitor->trace(m_parent); | |
| 191 visitor->trace(m_previous); | |
| 192 visitor->trace(m_next); | |
| 193 } | |
| 194 | |
| 195 String RenderObject::debugName() const | 187 String RenderObject::debugName() const |
| 196 { | 188 { |
| 197 StringBuilder name; | 189 StringBuilder name; |
| 198 name.append(renderName()); | 190 name.append(renderName()); |
| 199 | 191 |
| 200 if (Node* node = this->node()) { | 192 if (Node* node = this->node()) { |
| 201 name.append(' '); | 193 name.append(' '); |
| 202 name.append(node->debugName()); | 194 name.append(node->debugName()); |
| 203 } | 195 } |
| 204 | 196 |
| (...skipping 2491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2696 { | 2688 { |
| 2697 if (object1) { | 2689 if (object1) { |
| 2698 const blink::RenderObject* root = object1; | 2690 const blink::RenderObject* root = object1; |
| 2699 while (root->parent()) | 2691 while (root->parent()) |
| 2700 root = root->parent(); | 2692 root = root->parent(); |
| 2701 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 2693 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 2702 } | 2694 } |
| 2703 } | 2695 } |
| 2704 | 2696 |
| 2705 #endif | 2697 #endif |
| OLD | NEW |