| Index: src/device/xps/SkXPSDevice.cpp
|
| diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
|
| index e4ac2aa74229bca7f52abe170a498bf05270f105..48233bb55437a37a90fba0c6726a2baf9bc94e2e 100644
|
| --- a/src/device/xps/SkXPSDevice.cpp
|
| +++ b/src/device/xps/SkXPSDevice.cpp
|
| @@ -2044,7 +2044,7 @@
|
| case SkPaint::kGlyphID_TextEncoding:
|
| return SkToInt(byteLength / 2);
|
| default:
|
| - SK_ABORT("Invalid Text Encoding");
|
| + SK_ALWAYSBREAK(true);
|
| }
|
| return 0;
|
| }
|
| @@ -2254,6 +2254,7 @@
|
| #if 0
|
| if (SkBaseDevice::kGeneral_Usage == info.fUsage) {
|
| return nullptr;
|
| + SK_CRASH();
|
| //To what stream do we write?
|
| //SkXPSDevice* dev = new SkXPSDevice(this);
|
| //SkSize s = SkSize::Make(width, height);
|
|
|