diff options
Diffstat (limited to 'src/gpu/GrStencil.h')
-rw-r--r-- | src/gpu/GrStencil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrStencil.h b/src/gpu/GrStencil.h index 1af98e6a8b..d94a45fad2 100644 --- a/src/gpu/GrStencil.h +++ b/src/gpu/GrStencil.h @@ -284,7 +284,7 @@ public: bool operator == (const GrStencilSettings& s) const { static const size_t gCompareSize = sizeof(GrStencilSettings) - sizeof(fFlags); - GrAssert((const char*)&fFlags + sizeof(fFlags) == + SkASSERT((const char*)&fFlags + sizeof(fFlags) == (const char*)this + sizeof(GrStencilSettings)); if (this->isDisabled() & s.isDisabled()) { // using & not && return true; |