| 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 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 } | 1850 } |
| 1851 | 1851 |
| 1852 PassRefPtr<AbstractInlineTextBox> LayoutText::firstAbstractInlineTextBox() | 1852 PassRefPtr<AbstractInlineTextBox> LayoutText::firstAbstractInlineTextBox() |
| 1853 { | 1853 { |
| 1854 return AbstractInlineTextBox::getOrCreate(this, m_firstTextBox); | 1854 return AbstractInlineTextBox::getOrCreate(this, m_firstTextBox); |
| 1855 } | 1855 } |
| 1856 | 1856 |
| 1857 void LayoutText::invalidateDisplayItemClients(const LayoutBoxModelObject& paintI
nvalidationContainer) const | 1857 void LayoutText::invalidateDisplayItemClients(const LayoutBoxModelObject& paintI
nvalidationContainer) const |
| 1858 { | 1858 { |
| 1859 LayoutObject::invalidateDisplayItemClients(paintInvalidationContainer); | 1859 LayoutObject::invalidateDisplayItemClients(paintInvalidationContainer); |
| 1860 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) | 1860 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { |
| 1861 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*box); | 1861 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*box); |
| 1862 if (box->truncation() != cNoTruncation) { |
| 1863 if (EllipsisBox* ellipsisBox = box->root().ellipsisBox()) |
| 1864 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(
*ellipsisBox); |
| 1865 } |
| 1866 } |
| 1862 } | 1867 } |
| 1863 | 1868 |
| 1864 } // namespace blink | 1869 } // namespace blink |
| OLD | NEW |