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:
parent
46724e457e
commit
f2776ee02a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user