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

Side by Side Diff: Source/core/rendering/svg/RenderSVGRoot.h

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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Google, Inc. All rights reserved. 4 * Copyright (C) 2009 Google, Inc. All rights reserved.
5 * Copyright (C) 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2009 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 15 matching lines...) Expand all
26 #include "core/rendering/RenderReplaced.h" 26 #include "core/rendering/RenderReplaced.h"
27 27
28 namespace blink { 28 namespace blink {
29 29
30 class SVGElement; 30 class SVGElement;
31 31
32 class RenderSVGRoot final : public RenderReplaced { 32 class RenderSVGRoot final : public RenderReplaced {
33 public: 33 public:
34 explicit RenderSVGRoot(SVGElement*); 34 explicit RenderSVGRoot(SVGElement*);
35 virtual ~RenderSVGRoot(); 35 virtual ~RenderSVGRoot();
36 virtual void trace(Visitor*) override;
37 36
38 bool isEmbeddedThroughSVGImage() const; 37 bool isEmbeddedThroughSVGImage() const;
39 bool isEmbeddedThroughFrameContainingSVGDocument() const; 38 bool isEmbeddedThroughFrameContainingSVGDocument() const;
40 39
41 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override; 40 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override;
42 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o verride; 41 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o verride;
43 42
44 // If you have a RenderSVGRoot, use firstChild or lastChild instead. 43 // If you have a RenderSVGRoot, use firstChild or lastChild instead.
45 void slowFirstChild() const = delete; 44 void slowFirstChild() const = delete;
46 void slowLastChild() const = delete; 45 void slowLastChild() const = delete;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool m_hasBoxDecorationBackground : 1; 126 bool m_hasBoxDecorationBackground : 1;
128 mutable bool m_hasNonIsolatedBlendingDescendants : 1; 127 mutable bool m_hasNonIsolatedBlendingDescendants : 1;
129 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; 128 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1;
130 }; 129 };
131 130
132 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGRoot, isSVGRoot()); 131 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGRoot, isSVGRoot());
133 132
134 } // namespace blink 133 } // namespace blink
135 134
136 #endif // RenderSVGRoot_h 135 #endif // RenderSVGRoot_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp ('k') | Source/core/rendering/svg/RenderSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698