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

Unified Diff: gm/badpaint.cpp

Issue 1097433002: Don't serialize anything for SkEmptyShader. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 8 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 | src/core/SkEmptyShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/badpaint.cpp
diff --git a/gm/badpaint.cpp b/gm/badpaint.cpp
index 45b17f85fe87ba0976a994faf5d8fed32d3894a9..cce81465ad400d9cc360a18810135376a97fc5d3 100644
--- a/gm/badpaint.cpp
+++ b/gm/badpaint.cpp
@@ -30,12 +30,10 @@ protected:
SkMatrix badMatrix;
badMatrix.setAll(0, 0, 0, 0, 0, 0, 0, 0, 0);
-#if 0 // This crashes pipe!
// Empty bitmap.
fPaints.push_back().setColor(SK_ColorGREEN);
fPaints.back().setShader(SkShader::CreateBitmapShader(emptyBmp, SkShader::kClamp_TileMode,
SkShader::kClamp_TileMode))->unref();
-#endif
// Non-invertible local matrix.
fPaints.push_back().setColor(SK_ColorGREEN);
« no previous file with comments | « no previous file | src/core/SkEmptyShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698