Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: Source/core/rendering/RenderQuote.cpp

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderQuote.h ('k') | Source/core/rendering/RenderScrollbar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderQuote.h ('k') | Source/core/rendering/RenderScrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698