aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkShader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkShader.cpp')
-rw-r--r--src/core/SkShader.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp
index 40fe838f98..97cca5f81c 100644
--- a/src/core/SkShader.cpp
+++ b/src/core/SkShader.cpp
@@ -332,8 +332,6 @@ SkShader::GradientType SkColorShader::asAGradient(GradientInfo* info) const {
return kColor_GradientType;
}
-SK_DEFINE_FLATTENABLE_REGISTRAR(SkColorShader)
-
///////////////////////////////////////////////////////////////////////////////
#include "SkEmptyShader.h"
@@ -355,5 +353,3 @@ void SkEmptyShader::shadeSpan16(int x, int y, uint16_t span[], int count) {
void SkEmptyShader::shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) {
SkDEBUGFAIL("should never get called, since setContext() returned false");
}
-
-SK_DEFINE_FLATTENABLE_REGISTRAR(SkEmptyShader)