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

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

Issue 32713002: Move more data from .data to the .rodata section (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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) 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 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 4 * Copyright (C) 2012 Adobe Systems Incorporated. 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 10 matching lines...) Expand all
21 21
22 #include "config.h" 22 #include "config.h"
23 23
24 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" 24 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h"
25 25
26 #include "core/svg/RadialGradientAttributes.h" 26 #include "core/svg/RadialGradientAttributes.h"
27 #include "core/svg/SVGRadialGradientElement.h" 27 #include "core/svg/SVGRadialGradientElement.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 RenderSVGResourceType RenderSVGResourceRadialGradient::s_resourceType = RadialGr adientResourceType; 31 const RenderSVGResourceType RenderSVGResourceRadialGradient::s_resourceType = Ra dialGradientResourceType;
32 32
33 RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient(SVGRadialGradie ntElement* node) 33 RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient(SVGRadialGradie ntElement* node)
34 : RenderSVGResourceGradient(node) 34 : RenderSVGResourceGradient(node)
35 { 35 {
36 } 36 }
37 37
38 RenderSVGResourceRadialGradient::~RenderSVGResourceRadialGradient() 38 RenderSVGResourceRadialGradient::~RenderSVGResourceRadialGradient()
39 { 39 {
40 } 40 }
41 41
(...skipping 29 matching lines...) Expand all
71 this->focalRadius(m_attributes), 71 this->focalRadius(m_attributes),
72 this->centerPoint(m_attributes), 72 this->centerPoint(m_attributes),
73 this->radius(m_attributes)); 73 this->radius(m_attributes));
74 74
75 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_at tributes.spreadMethod())); 75 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_at tributes.spreadMethod()));
76 76
77 addStops(gradientData, m_attributes.stops()); 77 addStops(gradientData, m_attributes.stops());
78 } 78 }
79 79
80 } 80 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceRadialGradient.h ('k') | Source/core/rendering/svg/RenderSVGResourceSolidColor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698