disable assert for now

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1760373002

TBR=

Review URL: https://codereview.chromium.org/1760373002
This commit is contained in:
reed 2016-03-03 19:43:50 -08:00 committed by Commit bot
parent 773ceda51c
commit 56fb57a051

View File

@ -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;
}