| Index: sky/engine/core/painting/ColorFilter.cpp
|
| diff --git a/sky/engine/core/painting/ColorFilter.cpp b/sky/engine/core/painting/ColorFilter.cpp
|
| index 819c4e89a6441288f3763258d52ae359d239dc48..1f49059a82739216c512d17462113269eb493986 100644
|
| --- a/sky/engine/core/painting/ColorFilter.cpp
|
| +++ b/sky/engine/core/painting/ColorFilter.cpp
|
| @@ -8,10 +8,10 @@
|
| namespace blink {
|
|
|
| // static
|
| -PassRefPtr<ColorFilter> ColorFilter::create(CanvasColor color,
|
| - TransferMode transfer_mode) {
|
| - return adoptRef(new ColorFilter(adoptRef(SkColorFilter::CreateModeFilter(
|
| - color.sk_color, transfer_mode.sk_mode))));
|
| +PassRefPtr<ColorFilter> ColorFilter::create(SkColor color,
|
| + SkXfermode::Mode transfer_mode) {
|
| + return adoptRef(new ColorFilter(
|
| + adoptRef(SkColorFilter::CreateModeFilter(color, transfer_mode))));
|
| }
|
|
|
| ColorFilter::ColorFilter(PassRefPtr<SkColorFilter> filter)
|
|
|