diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-29 19:29:09 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-29 19:29:09 +0000 |
commit | 2ce9fce145c0b6cc80a02bf534fdea2798936265 (patch) | |
tree | 0b1c00ffaa7e6c012fb6e594228241546d291b63 /gm | |
parent | 6a7eecd92c58d2fe300ecc772531803116adc652 (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
Review URL: https://codereview.chromium.org/23545017
git-svn-id: http://skia.googlecode.com/svn/trunk@11010 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-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; |