| Index: third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
| index e145c23f18124452ec36d4615212afae0658348f..69f6ef70c3328a59d98fb0a5b4630d545520932e 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
| @@ -50,7 +50,7 @@ void CrossfadeGeneratedImage::drawCrossfade(SkCanvas* canvas, const SkPaint& pai
|
| // to preserve pre-existing behavior while refactoring this code. This should be
|
| // investigated further. crbug.com/472634
|
| SkPaint layerPaint;
|
| - layerPaint.setXfermode(paint.getXfermode());
|
| + layerPaint.setXfermode(sk_ref_sp(paint.getXfermode()));
|
| SkAutoCanvasRestore ar(canvas, false);
|
| canvas->saveLayer(nullptr, &layerPaint);
|
|
|
|
|