diff options
Diffstat (limited to 'src/gpu/GrRectanizer_pow2.h')
-rw-r--r-- | src/gpu/GrRectanizer_pow2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrRectanizer_pow2.h b/src/gpu/GrRectanizer_pow2.h index 59ef86406e..451589db0a 100644 --- a/src/gpu/GrRectanizer_pow2.h +++ b/src/gpu/GrRectanizer_pow2.h @@ -24,15 +24,15 @@ public: virtual ~GrRectanizerPow2() { } - void reset() SK_OVERRIDE { + void reset() override { fNextStripY = 0; fAreaSoFar = 0; sk_bzero(fRows, sizeof(fRows)); } - bool addRect(int w, int h, SkIPoint16* loc) SK_OVERRIDE; + bool addRect(int w, int h, SkIPoint16* loc) override; - float percentFull() const SK_OVERRIDE { + float percentFull() const override { return fAreaSoFar / ((float)this->width() * this->height()); } |