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

Side by Side Diff: Source/platform/graphics/filters/FETurbulence.cpp

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) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu> 6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu>
7 * Copyright (C) 2011 Gabor Loki <loki@webkit.org> 7 * Copyright (C) 2011 Gabor Loki <loki@webkit.org>
8 * Copyright (C) 2013 Google Inc. All rights reserved. 8 * Copyright (C) 2013 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 28 matching lines...) Expand all
39 : FilterEffect(filter) 39 : FilterEffect(filter)
40 , m_type(type) 40 , m_type(type)
41 , m_baseFrequencyX(baseFrequencyX) 41 , m_baseFrequencyX(baseFrequencyX)
42 , m_baseFrequencyY(baseFrequencyY) 42 , m_baseFrequencyY(baseFrequencyY)
43 , m_numOctaves(numOctaves) 43 , m_numOctaves(numOctaves)
44 , m_seed(seed) 44 , m_seed(seed)
45 , m_stitchTiles(stitchTiles) 45 , m_stitchTiles(stitchTiles)
46 { 46 {
47 } 47 }
48 48
49 PassRefPtr<FETurbulence> FETurbulence::create(Filter* filter, TurbulenceType typ e, float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles) 49 PassRefPtrWillBeRawPtr<FETurbulence> FETurbulence::create(Filter* filter, Turbul enceType type, float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles)
50 { 50 {
51 return adoptRef(new FETurbulence(filter, type, baseFrequencyX, baseFrequency Y, numOctaves, seed, stitchTiles)); 51 return adoptRefWillBeNoop(new FETurbulence(filter, type, baseFrequencyX, bas eFrequencyY, numOctaves, seed, stitchTiles));
52 } 52 }
53 53
54 TurbulenceType FETurbulence::type() const 54 TurbulenceType FETurbulence::type() const
55 { 55 {
56 return m_type; 56 return m_type;
57 } 57 }
58 58
59 bool FETurbulence::setType(TurbulenceType type) 59 bool FETurbulence::setType(TurbulenceType type)
60 { 60 {
61 if (m_type == type) 61 if (m_type == type)
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 FilterEffect::externalRepresentation(ts); 178 FilterEffect::externalRepresentation(ts);
179 ts << " type=\"" << type() << "\" " 179 ts << " type=\"" << type() << "\" "
180 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() << "\" " 180 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() << "\" "
181 << "seed=\"" << seed() << "\" " 181 << "seed=\"" << seed() << "\" "
182 << "numOctaves=\"" << numOctaves() << "\" " 182 << "numOctaves=\"" << numOctaves() << "\" "
183 << "stitchTiles=\"" << stitchTiles() << "\"]\n"; 183 << "stitchTiles=\"" << stitchTiles() << "\"]\n";
184 return ts; 184 return ts;
185 } 185 }
186 186
187 } // namespace blink 187 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FETurbulence.h ('k') | Source/platform/graphics/filters/Filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698