| Index: src/core/SkBlitter.cpp
|
| diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
|
| index 52a05eded8fda41b55cc66a300875877b90e3f00..145a340d4ee9f35980dcd7aab978aef4d15de2e8 100644
|
| --- a/src/core/SkBlitter.cpp
|
| +++ b/src/core/SkBlitter.cpp
|
| @@ -872,8 +872,9 @@ SkBlitter* SkBlitter::Choose(const SkBitmap& device,
|
| if (NULL == shader) {
|
| if (mode) {
|
| // xfermodes (and filters) require shaders for our current blitters
|
| - shader = SkNEW(SkColorShader);
|
| + shader = SkNEW_ARGS(SkColorShader, (paint->getColor()));
|
| paint.writable()->setShader(shader)->unref();
|
| + paint.writable()->setAlpha(0xFF);
|
| } else if (cf) {
|
| // if no shader && no xfermode, we just apply the colorfilter to
|
| // our color and move on.
|
|
|