Revert of Fix Chromium build (again) (patchset #2 id:20001 of https://codereview...
authorrobertphillips <robertphillips@google.com>
Wed, 11 Feb 2015 21:15:12 +0000 (13:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Feb 2015 21:15:12 +0000 (13:15 -0800)
Reason for revert:
Chrome

Original issue's description:
> Fix Chromium build (again)
>
> TBR=jvanverth@google.com
>
> Committed: https://skia.googlesource.com/skia/+/b48e08e03a7573c6917d9932a60af5822c009abd

TBR=jvanverth@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/920573002

src/utils/debugger/SkDrawCommand.h

index d272c54..8fd545f 100644 (file)
@@ -72,16 +72,8 @@ 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();