| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/layout/api/LineLayoutInline.h" | 35 #include "core/layout/api/LineLayoutInline.h" |
| 36 #include "core/layout/api/LineLayoutListMarker.h" | 36 #include "core/layout/api/LineLayoutListMarker.h" |
| 37 #include "core/layout/api/LineLayoutRubyRun.h" | 37 #include "core/layout/api/LineLayoutRubyRun.h" |
| 38 #include "core/layout/line/GlyphOverflow.h" | 38 #include "core/layout/line/GlyphOverflow.h" |
| 39 #include "core/layout/line/InlineTextBox.h" | 39 #include "core/layout/line/InlineTextBox.h" |
| 40 #include "core/layout/line/RootInlineBox.h" | 40 #include "core/layout/line/RootInlineBox.h" |
| 41 #include "core/paint/BoxPainter.h" | 41 #include "core/paint/BoxPainter.h" |
| 42 #include "core/paint/InlineFlowBoxPainter.h" | 42 #include "core/paint/InlineFlowBoxPainter.h" |
| 43 #include "core/style/ShadowList.h" | 43 #include "core/style/ShadowList.h" |
| 44 #include "platform/fonts/Font.h" | 44 #include "platform/fonts/Font.h" |
| 45 | 45 #include <algorithm> |
| 46 #include <math.h> | 46 #include <math.h> |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 struct SameSizeAsInlineFlowBox : public InlineBox { | 50 struct SameSizeAsInlineFlowBox : public InlineBox { |
| 51 void* pointers[5]; | 51 void* pointers[5]; |
| 52 uint32_t bitfields : 23; | 52 uint32_t bitfields : 23; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 static_assert(sizeof(InlineFlowBox) == sizeof(SameSizeAsInlineFlowBox), "InlineF
lowBox should stay small"); | 55 static_assert(sizeof(InlineFlowBox) == sizeof(SameSizeAsInlineFlowBox), "InlineF
lowBox should stay small"); |
| (...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 ASSERT(child->prevOnLine() == prev); | 1310 ASSERT(child->prevOnLine() == prev); |
| 1311 prev = child; | 1311 prev = child; |
| 1312 } | 1312 } |
| 1313 ASSERT(prev == m_lastChild); | 1313 ASSERT(prev == m_lastChild); |
| 1314 #endif | 1314 #endif |
| 1315 } | 1315 } |
| 1316 | 1316 |
| 1317 #endif | 1317 #endif |
| 1318 | 1318 |
| 1319 } // namespace blink | 1319 } // namespace blink |
| OLD | NEW |