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

Side by Side Diff: Source/core/rendering/svg/RenderSVGContainer.cpp

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add more trace 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
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 30 matching lines...) Expand all
41 : RenderSVGModelObject(node) 41 : RenderSVGModelObject(node)
42 , m_objectBoundingBoxValid(false) 42 , m_objectBoundingBoxValid(false)
43 , m_needsBoundariesUpdate(true) 43 , m_needsBoundariesUpdate(true)
44 { 44 {
45 } 45 }
46 46
47 RenderSVGContainer::~RenderSVGContainer() 47 RenderSVGContainer::~RenderSVGContainer()
48 { 48 {
49 } 49 }
50 50
51 void RenderSVGContainer::trace(Visitor* visitor)
52 {
53 visitor->trace(m_children);
54 RenderSVGModelObject::trace(visitor);
55 }
56
51 void RenderSVGContainer::layout() 57 void RenderSVGContainer::layout()
52 { 58 {
53 ASSERT(needsLayout()); 59 ASSERT(needsLayout());
54 60
55 // Allow RenderSVGViewportContainer to update its viewport. 61 // Allow RenderSVGViewportContainer to update its viewport.
56 calcViewport(); 62 calcViewport();
57 63
58 // Allow RenderSVGTransformableContainer to update its transform. 64 // Allow RenderSVGTransformableContainer to update its transform.
59 bool updatedTransform = calculateLocalTransform(); 65 bool updatedTransform = calculateLocalTransform();
60 66
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 if (objectBoundingBox().contains(localPoint)) { 193 if (objectBoundingBox().contains(localPoint)) {
188 updateHitTestResult(result, roundedLayoutPoint(localPoint)); 194 updateHitTestResult(result, roundedLayoutPoint(localPoint));
189 return true; 195 return true;
190 } 196 }
191 } 197 }
192 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched." 198 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched."
193 return false; 199 return false;
194 } 200 }
195 201
196 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698