OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "core/rendering/PaintInfo.h" | 24 #include "core/rendering/PaintInfo.h" |
25 #include "core/rendering/RenderBlockFlow.h" | 25 #include "core/rendering/RenderBlockFlow.h" |
26 #include "core/rendering/RootInlineBox.h" | 26 #include "core/rendering/RootInlineBox.h" |
27 #include "platform/Partitions.h" | 27 #include "platform/Partitions.h" |
28 #include "platform/fonts/FontMetrics.h" | 28 #include "platform/fonts/FontMetrics.h" |
29 | 29 |
30 #ifndef NDEBUG | 30 #ifndef NDEBUG |
31 #include <stdio.h> | 31 #include <stdio.h> |
32 #endif | 32 #endif |
33 | 33 |
34 using namespace std; | |
35 | |
36 namespace WebCore { | 34 namespace WebCore { |
37 | 35 |
38 struct SameSizeAsInlineBox { | 36 struct SameSizeAsInlineBox { |
39 virtual ~SameSizeAsInlineBox() { } | 37 virtual ~SameSizeAsInlineBox() { } |
40 void* a[4]; | 38 void* a[4]; |
41 FloatPoint b; | 39 FloatPoint b; |
42 float c; | 40 float c; |
43 uint32_t d : 32; | 41 uint32_t d : 32; |
44 #ifndef NDEBUG | 42 #ifndef NDEBUG |
45 bool f; | 43 bool f; |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 b->showTreeForThis(); | 360 b->showTreeForThis(); |
363 } | 361 } |
364 | 362 |
365 void showLineTree(const WebCore::InlineBox* b) | 363 void showLineTree(const WebCore::InlineBox* b) |
366 { | 364 { |
367 if (b) | 365 if (b) |
368 b->showLineTreeForThis(); | 366 b->showLineTreeForThis(); |
369 } | 367 } |
370 | 368 |
371 #endif | 369 #endif |
OLD | NEW |