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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FEComposite.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) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 25 matching lines...) Expand all
36 FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, flo at k1, float k2, float k3, float k4) 36 FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, flo at k1, float k2, float k3, float k4)
37 : FilterEffect(filter) 37 : FilterEffect(filter)
38 , m_type(type) 38 , m_type(type)
39 , m_k1(k1) 39 , m_k1(k1)
40 , m_k2(k2) 40 , m_k2(k2)
41 , m_k3(k3) 41 , m_k3(k3)
42 , m_k4(k4) 42 , m_k4(k4)
43 { 43 {
44 } 44 }
45 45
46 RawPtr<FEComposite> FEComposite::create(Filter* filter, const CompositeOperation Type& type, float k1, float k2, float k3, float k4) 46 FEComposite* FEComposite::create(Filter* filter, const CompositeOperationType& t ype, float k1, float k2, float k3, float k4)
47 { 47 {
48 return new FEComposite(filter, type, k1, k2, k3, k4); 48 return new FEComposite(filter, type, k1, k2, k3, k4);
49 } 49 }
50 50
51 CompositeOperationType FEComposite::operation() const 51 CompositeOperationType FEComposite::operation() const
52 { 52 {
53 return m_type; 53 return m_type;
54 } 54 }
55 55
56 bool FEComposite::setOperation(CompositeOperationType type) 56 bool FEComposite::setOperation(CompositeOperationType type)
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 ts << " operation=\"" << m_type << "\""; 253 ts << " operation=\"" << m_type << "\"";
254 if (m_type == FECOMPOSITE_OPERATOR_ARITHMETIC) 254 if (m_type == FECOMPOSITE_OPERATOR_ARITHMETIC)
255 ts << " k1=\"" << m_k1 << "\" k2=\"" << m_k2 << "\" k3=\"" << m_k3 << "\ " k4=\"" << m_k4 << "\""; 255 ts << " k1=\"" << m_k1 << "\" k2=\"" << m_k2 << "\" k3=\"" << m_k3 << "\ " k4=\"" << m_k4 << "\"";
256 ts << "]\n"; 256 ts << "]\n";
257 inputEffect(0)->externalRepresentation(ts, indent + 1); 257 inputEffect(0)->externalRepresentation(ts, indent + 1);
258 inputEffect(1)->externalRepresentation(ts, indent + 1); 258 inputEffect(1)->externalRepresentation(ts, indent + 1);
259 return ts; 259 return ts;
260 } 260 }
261 261
262 } // namespace blink 262 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698