Index: src/xps/SkXPSDevice.cpp |
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp |
index 5db644c30ab00dafc68e71ff15a0787ca099fa6a..946566c1b349642ff348e32e1b376692071fa550 100644 |
--- a/src/xps/SkXPSDevice.cpp |
+++ b/src/xps/SkXPSDevice.cpp |
@@ -644,11 +644,11 @@ static const XPS_TILE_MODE XTM_XY = XPS_TILE_MODE_FLIPXY; |
//None is currently an internal hack so masks don't repeat (None+None only). |
static XPS_TILE_MODE SkToXpsTileMode[SkShader::kTileModeCount+1] |
[SkShader::kTileModeCount+1] = { |
- //Clamp //Repeat //Mirror //None |
-/*Clamp */ XTM_N, XTM_T, XTM_Y, XTM_N, |
-/*Repeat*/ XTM_T, XTM_T, XTM_Y, XTM_N, |
-/*Mirror*/ XTM_X, XTM_X, XTM_XY, XTM_X, |
-/*None */ XTM_N, XTM_N, XTM_Y, XTM_N, |
+ //Clamp //Repeat //Mirror //None |
+ /*Clamp */ {XTM_N, XTM_T, XTM_Y, XTM_N}, |
+ /*Repeat*/ {XTM_T, XTM_T, XTM_Y, XTM_N}, |
+ /*Mirror*/ {XTM_X, XTM_X, XTM_XY, XTM_X}, |
+ /*None */ {XTM_N, XTM_N, XTM_Y, XTM_N}, |
}; |
HRESULT SkXPSDevice::createXpsImageBrush( |