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

Unified Diff: gm/canvasstate.cpp

Issue 23545017: Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state acros… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fixing nits Created 7 years, 4 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 | gyp/tests.gyp » ('j') | tests/CanvasStateTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/canvasstate.cpp
diff --git a/gm/canvasstate.cpp b/gm/canvasstate.cpp
index 5dc90ef2ae6a6c711f459fc3cbb72b99de31f0c2..d3eb84e7d3ac6373d1459ae5d270b684250acc56 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;
« no previous file with comments | « no previous file | gyp/tests.gyp » ('j') | tests/CanvasStateTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698