Alter assert that is causing Chromium compilation failure

../../third_party/skia/include/core/SkTypeface.h:303:19: error: implicit conversion turns string literal into bool: 'const char [14]' to 'bool' [-Werror,-Wstring-conversion]
        SkASSERT(!"unimplemented");
                 ~^~~~~~~~~~~~~~~



git-svn-id: http://skia.googlecode.com/svn/trunk@10447 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-07-31 00:00:56 +00:00
parent 46724e457e
commit f2776ee02a

View File

@ -300,7 +300,7 @@ protected:
// TODO: make this pure-virtual when all ports have overridden it
virtual SkTypeface* onRefMatchingStyle(Style styleBits) const {
SkASSERT(!"unimplemented");
SkASSERT(0);
this->ref();
return const_cast<SkTypeface*>(this);
}