Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: src/xps/SkXPSDevice.cpp

Issue 2408133006: SkXPS: compile under clang on win (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/xps/SkXPSDevice.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « src/xps/SkXPSDevice.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698