| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 239 |
| 240 void assertRendererClearedPaintInvalidationState() const | 240 void assertRendererClearedPaintInvalidationState() const |
| 241 { | 241 { |
| 242 #ifndef NDEBUG | 242 #ifndef NDEBUG |
| 243 if (paintInvalidationStateIsDirty()) { | 243 if (paintInvalidationStateIsDirty()) { |
| 244 showLayoutTreeForThis(); | 244 showLayoutTreeForThis(); |
| 245 ASSERT_NOT_REACHED(); | 245 ASSERT_NOT_REACHED(); |
| 246 } | 246 } |
| 247 #endif | 247 #endif |
| 248 } | 248 } |
| 249 | |
| 250 void assertSubtreeClearedPaintInvalidationState() const | 249 void assertSubtreeClearedPaintInvalidationState() const |
| 251 { | 250 { |
| 252 for (const LayoutObject* renderer = this; renderer; renderer = renderer-
>nextInPreOrder()) | 251 for (const LayoutObject* renderer = this; renderer; renderer = renderer-
>nextInPreOrder()) |
| 253 renderer->assertRendererClearedPaintInvalidationState(); | 252 renderer->assertRendererClearedPaintInvalidationState(); |
| 254 } | 253 } |
| 255 | 254 |
| 256 #endif | 255 #endif |
| 257 | 256 |
| 258 // FIXME: This could be used when changing the size of a renderer without ch
ildren to skip some invalidations. | 257 // FIXME: This could be used when changing the size of a renderer without ch
ildren to skip some invalidations. |
| 259 bool rendererHasNoBoxEffect() const | 258 bool rendererHasNoBoxEffect() const |
| (...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1653 void showTree(const blink::LayoutObject*); | 1652 void showTree(const blink::LayoutObject*); |
| 1654 void showLineTree(const blink::LayoutObject*); | 1653 void showLineTree(const blink::LayoutObject*); |
| 1655 void showLayoutTree(const blink::LayoutObject* object1); | 1654 void showLayoutTree(const blink::LayoutObject* object1); |
| 1656 // We don't make object2 an optional parameter so that showLayoutTree | 1655 // We don't make object2 an optional parameter so that showLayoutTree |
| 1657 // can be called from gdb easily. | 1656 // can be called from gdb easily. |
| 1658 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1657 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1659 | 1658 |
| 1660 #endif | 1659 #endif |
| 1661 | 1660 |
| 1662 #endif // LayoutObject_h | 1661 #endif // LayoutObject_h |
| OLD | NEW |