Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: include/gpu/GrTexture.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/SkGrPixelRef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrTexture.h
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index 4989a5e8a0bbb265fd31324d13ff800f327afe42..612fef4094c69ce51ae7a74113b0ab5ae04ea9b3 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -19,8 +19,8 @@ class GrTexturePriv;
class GrTexture : virtual public GrSurface {
public:
- virtual GrTexture* asTexture() SK_OVERRIDE { return this; }
- virtual const GrTexture* asTexture() const SK_OVERRIDE { return this; }
+ GrTexture* asTexture() SK_OVERRIDE { return this; }
+ const GrTexture* asTexture() const SK_OVERRIDE { return this; }
/**
* Return the native ID or handle to the texture, depending on the
@@ -51,7 +51,7 @@ protected:
void validateDesc() const;
private:
- virtual size_t onGpuMemorySize() const SK_OVERRIDE;
+ size_t onGpuMemorySize() const SK_OVERRIDE;
void dirtyMipMaps(bool mipMapsDirty);
enum MipMapsStatus {
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/SkGrPixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698