diff options
author | dcheng <dcheng@chromium.org> | 2015-07-08 13:25:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 13:25:23 -0700 |
commit | 3ba043f460a5d60a7fd733f4109132fa79148559 (patch) | |
tree | 2a964de50588648a7371b9d9e6bfc970bd570c9b | |
parent | 4f3ad2948c87662ecfc7a94d3dac2bc118ebe5d2 (diff) |
Remove another assertion that a reference is non-null.
This tickles a warning in Clang:
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]
BUG=none
Review URL: https://codereview.chromium.org/1225053003
-rwxr-xr-x | src/ports/SkFontHost_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp index 7463dabee2..75e3d46edc 100755 --- a/src/ports/SkFontHost_win.cpp +++ b/src/ports/SkFontHost_win.cpp @@ -1623,7 +1623,7 @@ DWORD SkScalerContext_GDI::getGDIGlyphPath(const SkGlyph& glyph, UINT flags, } void SkScalerContext_GDI::generatePath(const SkGlyph& glyph, SkPath* path) { - SkASSERT(&glyph && path); + SkASSERT(path); SkASSERT(fDDC); path->reset(); |