| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 RenderText* currText = toRenderText(curr); | 1261 RenderText* currText = toRenderText(curr); |
| 1262 for (InlineTextBox* childText = currText->firstTextBox(); ch
ildText; childText = childText->nextTextBox()) | 1262 for (InlineTextBox* childText = currText->firstTextBox(); ch
ildText; childText = childText->nextTextBox()) |
| 1263 childText->root().markDirty(); | 1263 childText->root().markDirty(); |
| 1264 } | 1264 } |
| 1265 } | 1265 } |
| 1266 } | 1266 } |
| 1267 } else | 1267 } else |
| 1268 m_lineBoxes.dirtyLineBoxes(); | 1268 m_lineBoxes.dirtyLineBoxes(); |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 void RenderInline::deleteLineBoxTree() | |
| 1272 { | |
| 1273 m_lineBoxes.deleteLineBoxTree(); | |
| 1274 } | |
| 1275 | |
| 1276 InlineFlowBox* RenderInline::createInlineFlowBox() | 1271 InlineFlowBox* RenderInline::createInlineFlowBox() |
| 1277 { | 1272 { |
| 1278 return new InlineFlowBox(*this); | 1273 return new InlineFlowBox(*this); |
| 1279 } | 1274 } |
| 1280 | 1275 |
| 1281 InlineFlowBox* RenderInline::createAndAppendInlineFlowBox() | 1276 InlineFlowBox* RenderInline::createAndAppendInlineFlowBox() |
| 1282 { | 1277 { |
| 1283 setAlwaysCreateLineBoxes(); | 1278 setAlwaysCreateLineBoxes(); |
| 1284 InlineFlowBox* flowBox = createInlineFlowBox(); | 1279 InlineFlowBox* flowBox = createInlineFlowBox(); |
| 1285 m_lineBoxes.appendLineBox(flowBox); | 1280 m_lineBoxes.appendLineBox(flowBox); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 container = this; | 1421 container = this; |
| 1427 | 1422 |
| 1428 FloatPoint absPos = container->localToAbsolute(); | 1423 FloatPoint absPos = container->localToAbsolute(); |
| 1429 region.bounds.setX(absPos.x() + region.bounds.x()); | 1424 region.bounds.setX(absPos.x() + region.bounds.x()); |
| 1430 region.bounds.setY(absPos.y() + region.bounds.y()); | 1425 region.bounds.setY(absPos.y() + region.bounds.y()); |
| 1431 | 1426 |
| 1432 regions.append(region); | 1427 regions.append(region); |
| 1433 } | 1428 } |
| 1434 | 1429 |
| 1435 } // namespace blink | 1430 } // namespace blink |
| OLD | NEW |