aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/textblobblockreordering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/textblobblockreordering.cpp')
-rw-r--r--gm/textblobblockreordering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/textblobblockreordering.cpp b/gm/textblobblockreordering.cpp
index 3974aca5ab..c581e135a6 100644
--- a/gm/textblobblockreordering.cpp
+++ b/gm/textblobblockreordering.cpp
@@ -69,7 +69,7 @@ protected:
redPaint.setColor(SK_ColorRED);
canvas->drawRect(bounds, redPaint);
SkPaint srcInPaint(paint);
- srcInPaint.setXfermodeMode(SkXfermode::kSrcIn_Mode);
+ srcInPaint.setBlendMode(SkBlendMode::kSrcIn);
canvas->drawTextBlob(fBlob, 0, 0, srcInPaint);
canvas->translate(SkIntToScalar(xDelta), SkIntToScalar(yDelta));