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) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 2736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2747 TrackedLayoutBoxListHashSet::const_iterator end = positionedDescendantSe
t->end(); | 2747 TrackedLayoutBoxListHashSet::const_iterator end = positionedDescendantSe
t->end(); |
2748 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { | 2748 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { |
2749 LayoutBox* currBox = *it; | 2749 LayoutBox* currBox = *it; |
2750 ASSERT(!currBox->needsLayout()); | 2750 ASSERT(!currBox->needsLayout()); |
2751 } | 2751 } |
2752 } | 2752 } |
2753 } | 2753 } |
2754 | 2754 |
2755 #endif | 2755 #endif |
2756 | 2756 |
2757 #ifndef NDEBUG | |
2758 | |
2759 void LayoutBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Layout
Object* obj) const | |
2760 { | |
2761 showLayoutObject(); | |
2762 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | |
2763 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | |
2764 } | |
2765 | |
2766 #endif | |
2767 | |
2768 } // namespace blink | 2757 } // namespace blink |
OLD | NEW |