summaryrefslogtreecommitdiffstats
path: root/base/gfx/vector_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/gfx/vector_device.cc')
-rw-r--r--base/gfx/vector_device.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/base/gfx/vector_device.cc b/base/gfx/vector_device.cc
index 7230e2b..26da338 100644
--- a/base/gfx/vector_device.cc
+++ b/base/gfx/vector_device.cc
@@ -583,13 +583,13 @@ void VectorDevice::InternalDrawBitmap(const SkBitmap& bitmap, int x, int y,
DCHECK(result);
// Note that this function expect premultiplied colors (!)
BLENDFUNCTION blend_function = {AC_SRC_OVER, 0, alpha, AC_SRC_ALPHA};
- result = AlphaBlend(dc,
- x, y, // Destination origin.
- src_size_x, src_size_y, // Destination size.
- bitmap_dc,
- 0, 0, // Source origin.
- src_size_x, src_size_y, // Source size.
- blend_function);
+ result = GdiAlphaBlend(dc,
+ x, y, // Destination origin.
+ src_size_x, src_size_y, // Destination size.
+ bitmap_dc,
+ 0, 0, // Source origin.
+ src_size_x, src_size_y, // Source size.
+ blend_function);
DCHECK(result);
result = SetStretchBltMode(dc, previous_mode);
DCHECK(result);