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

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

Issue 425203002: Revert of Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/RenderInline.h ('k') | Source/core/rendering/RenderMedia.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) 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, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 namespace blink { 45 namespace blink {
46 46
47 RenderInline::RenderInline(Element* element) 47 RenderInline::RenderInline(Element* element)
48 : RenderBoxModelObject(element) 48 : RenderBoxModelObject(element)
49 , m_alwaysCreateLineBoxes(false) 49 , m_alwaysCreateLineBoxes(false)
50 { 50 {
51 setChildrenInline(true); 51 setChildrenInline(true);
52 } 52 }
53 53
54 void RenderInline::trace(Visitor* visitor)
55 {
56 visitor->trace(m_children);
57 RenderBoxModelObject::trace(visitor);
58 }
59
60 RenderInline* RenderInline::createAnonymous(Document* document) 54 RenderInline* RenderInline::createAnonymous(Document* document)
61 { 55 {
62 RenderInline* renderer = new RenderInline(0); 56 RenderInline* renderer = new RenderInline(0);
63 renderer->setDocumentForAnonymous(document); 57 renderer->setDocumentForAnonymous(document);
64 return renderer; 58 return renderer;
65 } 59 }
66 60
67 void RenderInline::willBeDestroyed() 61 void RenderInline::willBeDestroyed()
68 { 62 {
69 #if ENABLE(ASSERT) 63 #if ENABLE(ASSERT)
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1562
1569 void RenderInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInv alidationState) 1563 void RenderInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInv alidationState)
1570 { 1564 {
1571 bool establishesNewPaintInvalidationContainer = isPaintInvalidationContainer (); 1565 bool establishesNewPaintInvalidationContainer = isPaintInvalidationContainer ();
1572 const RenderLayerModelObject& newPaintInvalidationContainer = *adjustComposi tedContainerForSpecialAncestors(establishesNewPaintInvalidationContainer ? this : &paintInvalidationState.paintInvalidationContainer()); 1566 const RenderLayerModelObject& newPaintInvalidationContainer = *adjustComposi tedContainerForSpecialAncestors(establishesNewPaintInvalidationContainer ? this : &paintInvalidationState.paintInvalidationContainer());
1573 PaintInvalidationState childPaintInvalidationState(paintInvalidationState, * this, newPaintInvalidationContainer); 1567 PaintInvalidationState childPaintInvalidationState(paintInvalidationState, * this, newPaintInvalidationContainer);
1574 RenderObject::invalidateTreeIfNeeded(childPaintInvalidationState); 1568 RenderObject::invalidateTreeIfNeeded(childPaintInvalidationState);
1575 } 1569 }
1576 1570
1577 } // namespace blink 1571 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderInline.h ('k') | Source/core/rendering/RenderMedia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698