diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 22:54:58 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 22:54:58 +0000 |
commit | d4799a3bf70ecc62ab702150cae1d1e925b14938 (patch) | |
tree | fae21bc09ddaa68dfc709e0d6abc55a43fe99333 /skia | |
parent | 7176ef1c7ada2da66a47ed38987c92a06f3bfb4a (diff) | |
download | chromium_src-d4799a3bf70ecc62ab702150cae1d1e925b14938.zip chromium_src-d4799a3bf70ecc62ab702150cae1d1e925b14938.tar.gz chromium_src-d4799a3bf70ecc62ab702150cae1d1e925b14938.tar.bz2 |
FBTF: Moves code to the headers.
One of the big things is starting to move/declare ctors/dtors that derive from RefCounted<> to/in the implementation file.
(Saves 4 megabytes from libglue.a alone. 1 meg off libbrowser.a. Hundred of kilobyte savings in a large number of .a files; only libmedia.a grew and it's only 100k.)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3452030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/convolver.cc | 7 | ||||
-rw-r--r-- | skia/ext/convolver.h | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/skia/ext/convolver.cc b/skia/ext/convolver.cc index ec0c014..a220d02 100644 --- a/skia/ext/convolver.cc +++ b/skia/ext/convolver.cc @@ -223,6 +223,13 @@ void ConvolveVertically(const ConvolutionFilter1D::Fixed* filter_values, // ConvolutionFilter1D --------------------------------------------------------- +ConvolutionFilter1D::ConvolutionFilter1D() + : max_filter_(0) { +} + +ConvolutionFilter1D::~ConvolutionFilter1D() { +} + void ConvolutionFilter1D::AddFilter(int filter_offset, const float* filter_values, int filter_length) { diff --git a/skia/ext/convolver.h b/skia/ext/convolver.h index 692c803..97f191c 100644 --- a/skia/ext/convolver.h +++ b/skia/ext/convolver.h @@ -30,8 +30,8 @@ class ConvolutionFilter1D { typedef short Fixed; - ConvolutionFilter1D() : max_filter_(0) { - } + ConvolutionFilter1D(); + ~ConvolutionFilter1D(); // Convert between floating point and our fixed point representation. static Fixed FloatToFixed(float f) { |