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

Unified Diff: include/core/SkShader.h

Issue 927443006: remove unneeded preroll (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « include/core/SkPicture.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 07d09b8ca2f5f5e7d838c015937fccc91f3354f0..bf9fca557f7b160b9d4d125d7d1ae71a73349916 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -470,8 +470,6 @@ public:
*/
virtual SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const;
- void preroll() const { this->onPreroll(); }
-
SK_TO_STRING_VIRT()
SK_DEFINE_FLATTENABLE_TYPE(SkShader)
@@ -486,7 +484,6 @@ protected:
*/
virtual Context* onCreateContext(const ContextRec&, void* storage) const;
- virtual void onPreroll() const {}
virtual bool onAsLuminanceColor(SkColor*) const {
return false;
}
« no previous file with comments | « include/core/SkPicture.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698