diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-29 20:20:40 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-29 20:20:40 +0000 |
commit | 5587ac09beec4c056332504f3fa85990520b43fd (patch) | |
tree | fc6a3a59cabd7a0814c717d5c0cc0aef23105808 /gm/canvasstate.cpp | |
parent | 5696baa16bc3cfbf99b9abfcdd178d0afe3213da (diff) |
Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.
R=joth@chromium.org, mtklein@google.com, reed@google.com, scroggo@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11010
Review URL: https://codereview.chromium.org/23545017
git-svn-id: http://skia.googlecode.com/svn/trunk@11013 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/canvasstate.cpp')
-rw-r--r-- | gm/canvasstate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gm/canvasstate.cpp b/gm/canvasstate.cpp index 5dc90ef2ae..d3eb84e7d3 100644 --- a/gm/canvasstate.cpp +++ b/gm/canvasstate.cpp @@ -112,9 +112,6 @@ private: class CanvasLayerStateGM : public GM { public: CanvasLayerStateGM() { - fRedPaint.setColor(SK_ColorRED); - fRedPaint.setStyle(SkPaint::kFill_Style); - fBluePaint.setColor(SK_ColorBLUE); fBluePaint.setStyle(SkPaint::kFill_Style); @@ -167,7 +164,6 @@ private: SPACER = 10, }; - SkPaint fRedPaint; SkPaint fBluePaint; SkRect fRect; |