Chromium Code Reviews| Index: core/fxge/ge/fx_ge_device.cpp |
| diff --git a/core/fxge/ge/fx_ge_device.cpp b/core/fxge/ge/fx_ge_device.cpp |
| index b8ddfec8413d95efcf291e6b17437013a6825b1f..81c33e1fce86b32fd0a9b38c71803c43e89d6fce 100644 |
| --- a/core/fxge/ge/fx_ge_device.cpp |
| +++ b/core/fxge/ge/fx_ge_device.cpp |
| @@ -224,6 +224,11 @@ FX_BOOL CFX_RenderDevice::DrawPath(const CFX_PathData* pPathData, |
| } |
| if ((fill_mode & 3) && fill_alpha && stroke_alpha < 0xff && |
| (fill_mode & FX_FILL_STROKE)) { |
| + if (m_RenderCaps & FXRC_FILLSTROKE_PATH) { |
| + return m_pDeviceDriver->DrawPath(pPathData, pObject2Device, pGraphState, |
| + fill_color, stroke_color, fill_mode, |
| + alpha_flag, pIccTransform, blend_type); |
| + } |
| if (!(m_RenderCaps & FXRC_GET_BITS)) { |
|
dsinclair
2016/03/24 17:43:38
similar, can this be moved to a function with a no
caryclark
2016/03/25 20:47:56
Done.
|
| return FALSE; |
| } |