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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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) 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2010. 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 28 matching lines...) Expand all
39 virtual RenderSVGResourceType resourceType() const override { return s_resou rceType; } 39 virtual RenderSVGResourceType resourceType() const override { return s_resou rceType; }
40 40
41 virtual SVGUnitTypes::SVGUnitType gradientUnits() const override { return m_ attributes.gradientUnits(); } 41 virtual SVGUnitTypes::SVGUnitType gradientUnits() const override { return m_ attributes.gradientUnits(); }
42 virtual void calculateGradientTransform(AffineTransform& transform) override { transform = m_attributes.gradientTransform(); } 42 virtual void calculateGradientTransform(AffineTransform& transform) override { transform = m_attributes.gradientTransform(); }
43 virtual bool collectGradientAttributes(SVGGradientElement*) override; 43 virtual bool collectGradientAttributes(SVGGradientElement*) override;
44 virtual void buildGradient(GradientData*) const override; 44 virtual void buildGradient(GradientData*) const override;
45 45
46 FloatPoint startPoint(const LinearGradientAttributes&) const; 46 FloatPoint startPoint(const LinearGradientAttributes&) const;
47 FloatPoint endPoint(const LinearGradientAttributes&) const; 47 FloatPoint endPoint(const LinearGradientAttributes&) const;
48 48
49 virtual void trace(Visitor*) override;
50
49 private: 51 private:
50 LinearGradientAttributes m_attributes; 52 LinearGradientAttributes m_attributes;
51 }; 53 };
52 54
53 } 55 } // namespace blink
54 56
55 #endif 57 #endif // RenderSVGResourceLinearGradient_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceFilter.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698