| 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 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
| 6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) | 6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 : RenderBox(0) | 1056 : RenderBox(0) |
| 1057 , m_listItem(item) | 1057 , m_listItem(item) |
| 1058 { | 1058 { |
| 1059 // init RenderObject attributes | 1059 // init RenderObject attributes |
| 1060 setInline(true); // our object is Inline | 1060 setInline(true); // our object is Inline |
| 1061 setReplaced(true); // pretend to be replaced | 1061 setReplaced(true); // pretend to be replaced |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 RenderListMarker::~RenderListMarker() | 1064 RenderListMarker::~RenderListMarker() |
| 1065 { | 1065 { |
| 1066 } |
| 1067 |
| 1068 void RenderListMarker::destroy() |
| 1069 { |
| 1066 if (m_image) | 1070 if (m_image) |
| 1067 m_image->removeClient(this); | 1071 m_image->removeClient(this); |
| 1072 RenderBox::destroy(); |
| 1068 } | 1073 } |
| 1069 | 1074 |
| 1070 void RenderListMarker::trace(Visitor* visitor) | 1075 void RenderListMarker::trace(Visitor* visitor) |
| 1071 { | 1076 { |
| 1072 visitor->trace(m_listItem); | 1077 visitor->trace(m_listItem); |
| 1073 RenderBox::trace(visitor); | 1078 RenderBox::trace(visitor); |
| 1074 } | 1079 } |
| 1075 | 1080 |
| 1076 RenderListMarker* RenderListMarker::createAnonymous(RenderListItem* item) | 1081 RenderListMarker* RenderListMarker::createAnonymous(RenderListItem* item) |
| 1077 { | 1082 { |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1843 | 1848 |
| 1844 if (clipToVisibleContent) | 1849 if (clipToVisibleContent) |
| 1845 mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect); | 1850 mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect); |
| 1846 else | 1851 else |
| 1847 rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer)
.enclosingBoundingBox(); | 1852 rect = localToContainerQuad(FloatRect(rect), paintInvalidationContainer)
.enclosingBoundingBox(); |
| 1848 | 1853 |
| 1849 return rect; | 1854 return rect; |
| 1850 } | 1855 } |
| 1851 | 1856 |
| 1852 } // namespace blink | 1857 } // namespace blink |
| OLD | NEW |