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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 years, 8 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
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) 2013 Google Inc. All rights reserved. 6 * Copyright (C) 2013 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 21 matching lines...) Expand all
32 32
33 static const unsigned kColorMatrixSize = 20; 33 static const unsigned kColorMatrixSize = 20;
34 34
35 FEColorMatrix::FEColorMatrix(Filter* filter, ColorMatrixType type, const Vector< float>& values) 35 FEColorMatrix::FEColorMatrix(Filter* filter, ColorMatrixType type, const Vector< float>& values)
36 : FilterEffect(filter) 36 : FilterEffect(filter)
37 , m_type(type) 37 , m_type(type)
38 , m_values(values) 38 , m_values(values)
39 { 39 {
40 } 40 }
41 41
42 RawPtr<FEColorMatrix> FEColorMatrix::create(Filter* filter, ColorMatrixType type , const Vector<float>& values) 42 FEColorMatrix* FEColorMatrix::create(Filter* filter, ColorMatrixType type, const Vector<float>& values)
43 { 43 {
44 return new FEColorMatrix(filter, type, values); 44 return new FEColorMatrix(filter, type, values);
45 } 45 }
46 46
47 ColorMatrixType FEColorMatrix::type() const 47 ColorMatrixType FEColorMatrix::type() const
48 { 48 {
49 return m_type; 49 return m_type;
50 } 50 }
51 51
52 bool FEColorMatrix::setType(ColorMatrixType type) 52 bool FEColorMatrix::setType(ColorMatrixType type)
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ts << " "; 224 ts << " ";
225 } 225 }
226 ts << "\""; 226 ts << "\"";
227 } 227 }
228 ts << "]\n"; 228 ts << "]\n";
229 inputEffect(0)->externalRepresentation(ts, indent + 1); 229 inputEffect(0)->externalRepresentation(ts, indent + 1);
230 return ts; 230 return ts;
231 } 231 }
232 232
233 } // namespace blink 233 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698