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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.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) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 17 matching lines...) Expand all
28 #include <algorithm> 28 #include <algorithm>
29 29
30 namespace blink { 30 namespace blink {
31 31
32 FESpecularLighting::FESpecularLighting(Filter* filter, const Color& lightingColo r, float surfaceScale, 32 FESpecularLighting::FESpecularLighting(Filter* filter, const Color& lightingColo r, float surfaceScale,
33 float specularConstant, float specularExponent, PassRefPtr<LightSource> ligh tSource) 33 float specularConstant, float specularExponent, PassRefPtr<LightSource> ligh tSource)
34 : FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specu larConstant, specularExponent, lightSource) 34 : FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specu larConstant, specularExponent, lightSource)
35 { 35 {
36 } 36 }
37 37
38 RawPtr<FESpecularLighting> FESpecularLighting::create(Filter* filter, const Colo r& lightingColor, 38 FESpecularLighting* FESpecularLighting::create(Filter* filter, const Color& ligh tingColor,
39 float surfaceScale, float specularConstant, float specularExponent, PassRefP tr<LightSource> lightSource) 39 float surfaceScale, float specularConstant, float specularExponent, PassRefP tr<LightSource> lightSource)
40 { 40 {
41 return new FESpecularLighting(filter, lightingColor, surfaceScale, specularC onstant, specularExponent, 41 return new FESpecularLighting(filter, lightingColor, surfaceScale, specularC onstant, specularExponent,
42 lightSource); 42 lightSource);
43 } 43 }
44 44
45 FESpecularLighting::~FESpecularLighting() 45 FESpecularLighting::~FESpecularLighting()
46 { 46 {
47 } 47 }
48 48
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 ts << "[feSpecularLighting"; 116 ts << "[feSpecularLighting";
117 FilterEffect::externalRepresentation(ts); 117 FilterEffect::externalRepresentation(ts);
118 ts << " surfaceScale=\"" << m_surfaceScale << "\" " 118 ts << " surfaceScale=\"" << m_surfaceScale << "\" "
119 << "specualConstant=\"" << m_specularConstant << "\" " 119 << "specualConstant=\"" << m_specularConstant << "\" "
120 << "specularExponent=\"" << m_specularExponent << "\"]\n"; 120 << "specularExponent=\"" << m_specularExponent << "\"]\n";
121 inputEffect(0)->externalRepresentation(ts, indent + 1); 121 inputEffect(0)->externalRepresentation(ts, indent + 1);
122 return ts; 122 return ts;
123 } 123 }
124 124
125 } // namespace blink 125 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698