Remove unused asACustomShader function from SkShader
authorGreg Daniel <egdaniel@google.com>
Fri, 20 Jan 2017 14:37:24 +0000 (09:37 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 20 Jan 2017 15:21:05 +0000 (15:21 +0000)
I recentely removed the only call site of this so it should be
safe to delete now.

BUG=skia:

Change-Id: Id7fa94b9af5d73c4f7bb5e5a657d6fc6728923b5
Reviewed-on: https://skia-review.googlesource.com/7330
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>

include/core/SkShader.h

index 4bb887e..2ac3749 100644 (file)
@@ -382,14 +382,6 @@ public:
      */
     bool asLuminanceColor(SkColor*) const;
 
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
-    /**
-     *  If the shader is a custom shader which has data the caller might want, call this function
-     *  to get that data.
-     */
-    virtual bool asACustomShader(void** /* customData */) const { return false; }
-#endif
-
     //////////////////////////////////////////////////////////////////////////
     //  Methods to create combinations or variants of shaders