Commit 7e98ed58 authored by reed@google.com's avatar reed@google.com

replace kMultiply_Mode with kModulate_Mode (the former is deprecated). No functionality change.

Review URL: https://codereview.chromium.org/12088111

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180146 0039d316-1c4b-4281-b951-d872f2087c98
parent 49085a2d
...@@ -237,7 +237,7 @@ void SpeechRecognitionBubbleBase::DrawVolumeOverlay(SkCanvas* canvas, ...@@ -237,7 +237,7 @@ void SpeechRecognitionBubbleBase::DrawVolumeOverlay(SkCanvas* canvas,
image.GetRepresentation(scale_factor_).sk_bitmap(), 0, 0); image.GetRepresentation(scale_factor_).sk_bitmap(), 0, 0);
buffer_canvas.restore(); buffer_canvas.restore();
SkPaint multiply_paint; SkPaint multiply_paint;
multiply_paint.setXfermode(SkXfermode::Create(SkXfermode::kMultiply_Mode)); multiply_paint.setXfermode(SkXfermode::Create(SkXfermode::kModulate_Mode));
buffer_canvas.drawBitmap( buffer_canvas.drawBitmap(
g_images.Get().mic_mask()->GetRepresentation(scale_factor_).sk_bitmap(), g_images.Get().mic_mask()->GetRepresentation(scale_factor_).sk_bitmap(),
-clip_right, 0, &multiply_paint); -clip_right, 0, &multiply_paint);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment