| Index: src/device/xps/SkXPSDevice.cpp
|
| diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
|
| index 5bf07e9877df67899e7a80ec13609303a9dfe9cf..94d9c9823a6738e24b777100ca936c806379cb45 100644
|
| --- a/src/device/xps/SkXPSDevice.cpp
|
| +++ b/src/device/xps/SkXPSDevice.cpp
|
| @@ -2247,10 +2247,10 @@ void SkXPSDevice::drawDevice(const SkDraw& d, SkBaseDevice* dev,
|
| "Could not add layer to current visuals.");
|
| }
|
|
|
| -SkBaseDevice* SkXPSDevice::onCreateDevice(const SkImageInfo&, Usage) {
|
| +SkBaseDevice* SkXPSDevice::onCreateCompatibleDevice(const CreateInfo& info) {
|
| //Conditional for bug compatibility with PDF device.
|
| #if 0
|
| - if (SkBaseDevice::kGeneral_Usage == usage) {
|
| + if (SkBaseDevice::kGeneral_Usage == info.fUsage) {
|
| return NULL;
|
| SK_CRASH();
|
| //To what stream do we write?
|
|
|