зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1298112 - Remove always-true null-check to fix compile warning. r=gwright
warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] --HG-- extra : rebase_source : 2de925356078f191b953cc8f6eec546686940c63
This commit is contained in:
Родитель
a624f81f28
Коммит
13d9155235
|
@ -760,7 +760,7 @@ void SkScalerContext_CairoFT::generatePath(const SkGlyph& glyph, SkPath* path)
|
|||
CairoLockedFTFace faceLock(fScaledFont);
|
||||
FT_Face face = faceLock.getFace();
|
||||
|
||||
SkASSERT(&glyph && path);
|
||||
SkASSERT(path);
|
||||
|
||||
uint32_t flags = fLoadGlyphFlags;
|
||||
flags |= FT_LOAD_NO_BITMAP; // ignore embedded bitmaps so we're sure to get the outline
|
||||
|
|
Загрузка…
Ссылка в новой задаче