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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FELighting.h

Issue 1387573003: Pass SkiaImageFilterBuilder& to FilterEffect::createImageFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/filters/FELighting.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FELighting.h b/third_party/WebKit/Source/platform/graphics/filters/FELighting.h
index b9e88c0b7cc8aa49511c3c3a426e866cdeddb5f8..e27ef9a9dcd60bc8bd30baf7e7a65bf37d4bde77 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FELighting.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FELighting.h
@@ -38,15 +38,14 @@ namespace blink {
class LightSource;
class PLATFORM_EXPORT FELighting : public FilterEffect {
-public:
- PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) override;
-
protected:
enum LightingType {
DiffuseLighting,
SpecularLighting
};
+ PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) override;
+
FloatRect mapPaintRect(const FloatRect&, bool forward = true) final;
bool affectsTransparentPixels() override { return true; }

Powered by Google App Engine
This is Rietveld 408576698