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

Side by Side Diff: Source/core/rendering/svg/RenderSVGContainer.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
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 26 matching lines...) Expand all
37 , m_needsBoundariesUpdate(true) 37 , m_needsBoundariesUpdate(true)
38 , m_hasNonIsolatedBlendingDescendants(false) 38 , m_hasNonIsolatedBlendingDescendants(false)
39 , m_hasNonIsolatedBlendingDescendantsDirty(false) 39 , m_hasNonIsolatedBlendingDescendantsDirty(false)
40 { 40 {
41 } 41 }
42 42
43 RenderSVGContainer::~RenderSVGContainer() 43 RenderSVGContainer::~RenderSVGContainer()
44 { 44 {
45 } 45 }
46 46
47 void RenderSVGContainer::trace(Visitor* visitor)
48 {
49 visitor->trace(m_children);
50 RenderSVGModelObject::trace(visitor);
51 }
52
53 void RenderSVGContainer::layout() 47 void RenderSVGContainer::layout()
54 { 48 {
55 ASSERT(needsLayout()); 49 ASSERT(needsLayout());
56 50
57 // Allow RenderSVGViewportContainer to update its viewport. 51 // Allow RenderSVGViewportContainer to update its viewport.
58 calcViewport(); 52 calcViewport();
59 53
60 // Allow RenderSVGTransformableContainer to update its transform. 54 // Allow RenderSVGTransformableContainer to update its transform.
61 bool updatedTransform = calculateLocalTransform(); 55 bool updatedTransform = calculateLocalTransform();
62 56
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 if (objectBoundingBox().contains(localPoint)) { 183 if (objectBoundingBox().contains(localPoint)) {
190 updateHitTestResult(result, roundedLayoutPoint(localPoint)); 184 updateHitTestResult(result, roundedLayoutPoint(localPoint));
191 return true; 185 return true;
192 } 186 }
193 } 187 }
194 // 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." 188 // 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."
195 return false; 189 return false;
196 } 190 }
197 191
198 } 192 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGContainer.h ('k') | Source/core/rendering/svg/RenderSVGResourceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698