| Index: src/utils/SkGatherPixelRefsAndRects.h
|
| diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h
|
| index 0a4bb5b84c377e18d17b39c4ff8fa3cffb61ac7b..4eeb56c14cc02e29c2ba8896c65b8c4be779f68f 100644
|
| --- a/src/utils/SkGatherPixelRefsAndRects.h
|
| +++ b/src/utils/SkGatherPixelRefsAndRects.h
|
| @@ -302,11 +302,11 @@ private:
|
| NotSupported();
|
| }
|
|
|
| - virtual SkBaseDevice* onCreateDevice(const SkImageInfo& info, Usage usage) SK_OVERRIDE {
|
| + virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo& info) SK_OVERRIDE {
|
| // we expect to only get called via savelayer, in which case it is fine.
|
| - SkASSERT(kSaveLayer_Usage == usage);
|
| + SkASSERT(kSaveLayer_Usage == info.fUsage);
|
| return SkNEW_ARGS(SkGatherPixelRefsAndRectsDevice,
|
| - (info.width(), info.height(), fPRCont));
|
| + (info.fInfo.width(), info.fInfo.height(), fPRCont));
|
| }
|
|
|
| static void NotSupported() {
|
|
|