Fix Chromium build (again)

TBR=jvanverth@google.com

Review URL: https://codereview.chromium.org/916193002
This commit is contained in:
robertphillips 2015-02-11 12:52:08 -08:00 committed by Commit bot
parent 7e34007e1e
commit b48e08e03a

View File

@ -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();