Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: src/utils/debugger/SkDrawCommand.h

Issue 916193002: Fix Chromium build (again) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix newlines Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698