OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2011 Nokia Inc. All rights reserved. | 2 * Copyright (C) 2011 Nokia Inc. All rights reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 30 matching lines...) Expand all Loading... |
41 { | 41 { |
42 setDocumentForAnonymous(node); | 42 setDocumentForAnonymous(node); |
43 } | 43 } |
44 | 44 |
45 RenderQuote::~RenderQuote() | 45 RenderQuote::~RenderQuote() |
46 { | 46 { |
47 ASSERT(!m_attached); | 47 ASSERT(!m_attached); |
48 ASSERT(!m_next && !m_previous); | 48 ASSERT(!m_next && !m_previous); |
49 } | 49 } |
50 | 50 |
51 void RenderQuote::trace(Visitor* visitor) | |
52 { | |
53 visitor->trace(m_next); | |
54 visitor->trace(m_previous); | |
55 RenderInline::trace(visitor); | |
56 } | |
57 | |
58 void RenderQuote::willBeDestroyed() | 51 void RenderQuote::willBeDestroyed() |
59 { | 52 { |
60 detachQuote(); | 53 detachQuote(); |
61 RenderInline::willBeDestroyed(); | 54 RenderInline::willBeDestroyed(); |
62 } | 55 } |
63 | 56 |
64 void RenderQuote::willBeRemovedFromTree() | 57 void RenderQuote::willBeRemovedFromTree() |
65 { | 58 { |
66 RenderInline::willBeRemovedFromTree(); | 59 RenderInline::willBeRemovedFromTree(); |
67 detachQuote(); | 60 detachQuote(); |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 if (m_depth) | 399 if (m_depth) |
407 m_depth--; | 400 m_depth--; |
408 break; | 401 break; |
409 } | 402 } |
410 } | 403 } |
411 if (oldDepth != m_depth) | 404 if (oldDepth != m_depth) |
412 updateText(); | 405 updateText(); |
413 } | 406 } |
414 | 407 |
415 } // namespace blink | 408 } // namespace blink |
OLD | NEW |