Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index e0d281b026fae38118acdaf958fff7f61f930a2c..e4309b67f42e8504d2d18bc4d130f9c30b0595d1 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -205,7 +205,6 @@ size_t SkBitmapProcLegacyShader::ContextSize(const ContextRec& rec, const SkImag |
size_t size1 = sizeof(LinearPipelineContext) + sizeof(SkBitmapProcInfo); |
size_t s = SkTMax(size0, size1); |
return s; |
- return SkTMax(size0, size1); |
} |
SkShader::Context* SkBitmapProcLegacyShader::MakeContext(const SkShader& shader, |