OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
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 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1736 gSecureTextTimers->add(this, secureTextTimer); | 1736 gSecureTextTimers->add(this, secureTextTimer); |
1737 } | 1737 } |
1738 secureTextTimer->restartWithNewText(lastTypedCharacterOffset); | 1738 secureTextTimer->restartWithNewText(lastTypedCharacterOffset); |
1739 } | 1739 } |
1740 | 1740 |
1741 PassRefPtr<AbstractInlineTextBox> LayoutText::firstAbstractInlineTextBox() | 1741 PassRefPtr<AbstractInlineTextBox> LayoutText::firstAbstractInlineTextBox() |
1742 { | 1742 { |
1743 return AbstractInlineTextBox::getOrCreate(LineLayoutText(this), m_firstTextB
ox); | 1743 return AbstractInlineTextBox::getOrCreate(LineLayoutText(this), m_firstTextB
ox); |
1744 } | 1744 } |
1745 | 1745 |
1746 void LayoutText::invalidateDisplayItemClients(const LayoutBoxModelObject& paintI
nvalidationContainer, PaintInvalidationReason invalidationReason) const | 1746 void LayoutText::invalidateDisplayItemClients(PaintInvalidationReason invalidati
onReason) const |
1747 { | 1747 { |
1748 LayoutObject::invalidateDisplayItemClients(paintInvalidationContainer, inval
idationReason); | 1748 LayoutObject::invalidateDisplayItemClients(invalidationReason); |
1749 | 1749 |
1750 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { | 1750 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { |
1751 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*box, in
validationReason); | 1751 invalidateDisplayItemClient(*box, invalidationReason); |
1752 if (box->truncation() != cNoTruncation) { | 1752 if (box->truncation() != cNoTruncation) { |
1753 if (EllipsisBox* ellipsisBox = box->root().ellipsisBox()) | 1753 if (EllipsisBox* ellipsisBox = box->root().ellipsisBox()) |
1754 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(
*ellipsisBox, invalidationReason); | 1754 invalidateDisplayItemClient(*ellipsisBox, invalidationReason); |
1755 } | 1755 } |
1756 } | 1756 } |
1757 } | 1757 } |
1758 | 1758 |
1759 } // namespace blink | 1759 } // namespace blink |
OLD | NEW |