| 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 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 | 1370 |
| 1371 if (gDelayUpdateScrollInfo) | 1371 if (gDelayUpdateScrollInfo) |
| 1372 gDelayedUpdateScrollInfoSet->add(this); | 1372 gDelayedUpdateScrollInfoSet->add(this); |
| 1373 else | 1373 else |
| 1374 layer()->updateScrollInfoAfterLayout(); | 1374 layer()->updateScrollInfoAfterLayout(); |
| 1375 } | 1375 } |
| 1376 } | 1376 } |
| 1377 | 1377 |
| 1378 void RenderBlock::layout() | 1378 void RenderBlock::layout() |
| 1379 { | 1379 { |
| 1380 StackStats::LayoutCheckPoint layoutCheckPoint; | |
| 1381 OverflowEventDispatcher dispatcher(this); | 1380 OverflowEventDispatcher dispatcher(this); |
| 1382 | 1381 |
| 1383 // Update our first letter info now. | 1382 // Update our first letter info now. |
| 1384 updateFirstLetter(); | 1383 updateFirstLetter(); |
| 1385 | 1384 |
| 1386 // Table cells call layoutBlock directly, so don't add any logic here. Put
code into | 1385 // Table cells call layoutBlock directly, so don't add any logic here. Put
code into |
| 1387 // layoutBlock(). | 1386 // layoutBlock(). |
| 1388 layoutBlock(false); | 1387 layoutBlock(false); |
| 1389 | 1388 |
| 1390 // It's safe to check for control clip here, since controls can never be tab
le cells. | 1389 // It's safe to check for control clip here, since controls can never be tab
le cells. |
| (...skipping 6587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7978 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const | 7977 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const |
| 7979 { | 7978 { |
| 7980 showRenderObject(); | 7979 showRenderObject(); |
| 7981 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | 7980 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) |
| 7982 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | 7981 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); |
| 7983 } | 7982 } |
| 7984 | 7983 |
| 7985 #endif | 7984 #endif |
| 7986 | 7985 |
| 7987 } // namespace WebCore | 7986 } // namespace WebCore |
| OLD | NEW |