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

Side by Side Diff: Source/platform/graphics/filters/FEGaussianBlur.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 Igalia, S.L. 6 * Copyright (C) 2010 Igalia, S.L.
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace blink { 43 namespace blink {
44 44
45 FEGaussianBlur::FEGaussianBlur(Filter* filter, float x, float y) 45 FEGaussianBlur::FEGaussianBlur(Filter* filter, float x, float y)
46 : FilterEffect(filter) 46 : FilterEffect(filter)
47 , m_stdX(x) 47 , m_stdX(x)
48 , m_stdY(y) 48 , m_stdY(y)
49 { 49 {
50 } 50 }
51 51
52 PassRefPtr<FEGaussianBlur> FEGaussianBlur::create(Filter* filter, float x, float y) 52 PassRefPtrWillBeRawPtr<FEGaussianBlur> FEGaussianBlur::create(Filter* filter, fl oat x, float y)
53 { 53 {
54 return adoptRef(new FEGaussianBlur(filter, x, y)); 54 return adoptRefWillBeNoop(new FEGaussianBlur(filter, x, y));
55 } 55 }
56 56
57 float FEGaussianBlur::stdDeviationX() const 57 float FEGaussianBlur::stdDeviationX() const
58 { 58 {
59 return m_stdX; 59 return m_stdX;
60 } 60 }
61 61
62 void FEGaussianBlur::setStdDeviationX(float x) 62 void FEGaussianBlur::setStdDeviationX(float x)
63 { 63 {
64 m_stdX = x; 64 m_stdX = x;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 { 145 {
146 writeIndent(ts, indent); 146 writeIndent(ts, indent);
147 ts << "[feGaussianBlur"; 147 ts << "[feGaussianBlur";
148 FilterEffect::externalRepresentation(ts); 148 FilterEffect::externalRepresentation(ts);
149 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n"; 149 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n";
150 inputEffect(0)->externalRepresentation(ts, indent + 1); 150 inputEffect(0)->externalRepresentation(ts, indent + 1);
151 return ts; 151 return ts;
152 } 152 }
153 153
154 } // namespace blink 154 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FEGaussianBlur.h ('k') | Source/platform/graphics/filters/FEMerge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698