| Index: src/utils/debugger/SkDrawCommand.h
|
| diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h
|
| index 45b5ee1572c14e31f0c892b1a0e3b1ba7f705f3a..873bb95933ad71632d5cf011fea9eb1c77d7ecbf 100644
|
| --- a/src/utils/debugger/SkDrawCommand.h
|
| +++ b/src/utils/debugger/SkDrawCommand.h
|
| @@ -110,8 +110,16 @@ private:
|
| bool fVisible;
|
| };
|
|
|
| +// TODO: switch Chromium over to not using these
|
| typedef SkDrawCommand::OpType DrawType;
|
|
|
| +#define SAVE SkDrawCommand::kSave_OpType
|
| +#define SCALE SkDrawCommand::kSetMatrix_OpType
|
| +#define TRANSLATE SkDrawCommand::kSetMatrix_OpType
|
| +#define DRAW_RECT SkDrawCommand::kDrawRect_OpType
|
| +#define RESTORE SkDrawCommand::kRestore_OpType
|
| +#define CLIP_RECT SkDrawCommand::kClipRect_OpType
|
| +
|
| class SkRestoreCommand : public SkDrawCommand {
|
| public:
|
| SkRestoreCommand();
|
|
|