C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}
NOPRESUBMIT=true
BUG=skia:
DOCS_PREVIEW= https://skia.org/?cl=1037793002
Review URL: https://codereview.chromium.org/1037793002
diff --git a/include/gpu/SkGrPixelRef.h b/include/gpu/SkGrPixelRef.h
index 4eab59c..eae19db 100644
--- a/include/gpu/SkGrPixelRef.h
+++ b/include/gpu/SkGrPixelRef.h
@@ -25,9 +25,9 @@
virtual ~SkROLockPixelsPixelRef();
protected:
- bool onNewLockPixels(LockRec*) SK_OVERRIDE;
- void onUnlockPixels() SK_OVERRIDE;
- bool onLockPixelsAreWritable() const SK_OVERRIDE; // return false;
+ bool onNewLockPixels(LockRec*) override;
+ void onUnlockPixels() override;
+ bool onLockPixelsAreWritable() const override; // return false;
private:
SkBitmap fBitmap;
@@ -47,13 +47,13 @@
virtual ~SkGrPixelRef();
// override from SkPixelRef
- GrTexture* getTexture() SK_OVERRIDE;
+ GrTexture* getTexture() override;
protected:
// overrides from SkPixelRef
- bool onReadPixels(SkBitmap* dst, const SkIRect* subset) SK_OVERRIDE;
+ bool onReadPixels(SkBitmap* dst, const SkIRect* subset) override;
virtual SkPixelRef* deepCopy(SkColorType, SkColorProfileType,
- const SkIRect* subset) SK_OVERRIDE;
+ const SkIRect* subset) override;
private:
GrSurface* fSurface;