Index: gm/gradients_2pt_conical.cpp |
diff --git a/gm/gradients_2pt_conical.cpp b/gm/gradients_2pt_conical.cpp |
index 7f0467e53e54b067fa4357007d8574c7774dfa9e..dece66ed8b2aa6ab2c29f40a15da229ff92694d8 100644 |
--- a/gm/gradients_2pt_conical.cpp |
+++ b/gm/gradients_2pt_conical.cpp |
@@ -339,6 +339,13 @@ public: |
} |
protected: |
+ virtual uint32_t onGetFlags() const SK_OVERRIDE { |
+ if (fGradCaseType != kInside_GradCaseType) { |
+ return kSkipTiled_Flag; |
+ } |
+ return 0; |
+ } |
+ |
SkString onShortName() { |
return fName; |
} |