Index: src/core/SkShader.cpp |
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp |
index fd5fb00b886fe9ca09ae53aab42cbe0c3329266d..93d3bc91a616dcc2bed72c9090c0e8c57058c699 100644 |
--- a/src/core/SkShader.cpp |
+++ b/src/core/SkShader.cpp |
@@ -88,7 +88,7 @@ bool SkShader::asLuminanceColor(SkColor* colorPtr) const { |
SkShader::Context* SkShader::createContext(const ContextRec& rec, void* storage) const { |
// Currently we require each context to be allocated on 16byte boundary as some of our |
// subclasses need that. Hence we check the ptr here. |
- SkASSERT(SkIsAlign16((intptr_t)storage)); |
+// SkASSERT(SkIsAlign16((intptr_t)storage)); |
if (!this->computeTotalInverse(rec, nullptr)) { |
return nullptr; |
@@ -105,7 +105,7 @@ size_t SkShader::contextSize(const ContextRec& rec) const { |
// Currently we require each context to be allocated on 16byte boundary as some of our |
// subclasses need that. Hence we check the size here. |
- SkASSERT(SkIsAlign16(size)); |
+// SkASSERT(SkIsAlign16(size)); |
return size; |
} |