Index: src/utils/debugger/SkDrawCommand.h |
diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h |
index 9da05eeedb94542197236fea32d82bc0a6f8b0e9..f67df92de7d37babbf40f1fdb1e8f745ce797492 100644 |
--- a/src/utils/debugger/SkDrawCommand.h |
+++ b/src/utils/debugger/SkDrawCommand.h |
@@ -551,8 +551,7 @@ private: |
class SkSaveLayerCommand : public SkDrawCommand { |
public: |
- SkSaveLayerCommand(const SkRect* bounds, const SkPaint* paint, |
- SkCanvas::SaveFlags flags); |
+ SkSaveLayerCommand(const SkCanvas::SaveLayerRec&); |
void execute(SkCanvas* canvas) const override; |
void vizExecute(SkCanvas* canvas) const override; |
Action action() const override{ return kPushLayer_Action; } |
@@ -562,12 +561,12 @@ public: |
const SkPaint* paint() const { return fPaintPtr; } |
private: |
- SkRect fBounds; |
- SkPaint fPaint; |
- SkPaint* fPaintPtr; |
- SkCanvas::SaveFlags fFlags; |
+ SkRect fBounds; |
+ SkPaint fPaint; |
+ SkPaint* fPaintPtr; |
+ uint32_t fSaveLayerFlags; |
- bool fActive; |
+ bool fActive; |
typedef SkDrawCommand INHERITED; |
}; |