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

Unified Diff: tools/PictureRenderer.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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 | « tools/CopyTilesRenderer.h ('k') | tools/PictureResultsWriter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/PictureRenderer.h
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index d52b988819606135f44c7e11f75ebd8a877dff4a..e1434686c68acb1908867ac29fb43b8855f16191 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -501,17 +501,17 @@ public:
RecordPictureRenderer(const GrContext::Options &opts) : INHERITED(opts) { }
#endif
- bool render(SkBitmap** out = NULL) SK_OVERRIDE;
+ bool render(SkBitmap** out = NULL) override;
- SkString getPerIterTimeFormat() SK_OVERRIDE { return SkString("%.4f"); }
+ SkString getPerIterTimeFormat() override { return SkString("%.4f"); }
- SkString getNormalTimeFormat() SK_OVERRIDE { return SkString("%6.4f"); }
+ SkString getNormalTimeFormat() override { return SkString("%6.4f"); }
protected:
- SkCanvas* setupCanvas(int width, int height) SK_OVERRIDE;
+ SkCanvas* setupCanvas(int width, int height) override;
private:
- SkString getConfigNameInternal() SK_OVERRIDE;
+ SkString getConfigNameInternal() override;
typedef PictureRenderer INHERITED;
};
@@ -522,10 +522,10 @@ public:
PipePictureRenderer(const GrContext::Options &opts) : INHERITED(opts) { }
#endif
- bool render(SkBitmap** out = NULL) SK_OVERRIDE;
+ bool render(SkBitmap** out = NULL) override;
private:
- SkString getConfigNameInternal() SK_OVERRIDE;
+ SkString getConfigNameInternal() override;
typedef PictureRenderer INHERITED;
};
@@ -541,12 +541,12 @@ public:
const SkString* mismatchPath,
const SkString* inputFilename,
bool useChecksumBasedFilenames,
- bool useMultiPictureDraw) SK_OVERRIDE;
+ bool useMultiPictureDraw) override;
- bool render(SkBitmap** out = NULL) SK_OVERRIDE;
+ bool render(SkBitmap** out = NULL) override;
private:
- SkString getConfigNameInternal() SK_OVERRIDE;
+ SkString getConfigNameInternal() override;
typedef PictureRenderer INHERITED;
};
@@ -564,16 +564,16 @@ public:
const SkString* mismatchPath,
const SkString* inputFilename,
bool useChecksumBasedFilenames,
- bool useMultiPictureDraw) SK_OVERRIDE;
+ bool useMultiPictureDraw) override;
/**
* Renders to tiles, rather than a single canvas.
* If fWritePath was provided, a separate file is
* created for each tile, named "path0.png", "path1.png", etc.
*/
- bool render(SkBitmap** out = NULL) SK_OVERRIDE;
+ bool render(SkBitmap** out = NULL) override;
- void end() SK_OVERRIDE;
+ void end() override;
void setTileWidth(int width) {
fTileWidth = width;
@@ -620,7 +620,7 @@ public:
return fTileMinPowerOf2Width;
}
- TiledPictureRenderer* getTiledRenderer() SK_OVERRIDE { return this; }
+ TiledPictureRenderer* getTiledRenderer() override { return this; }
virtual bool supportsTimingIndividualTiles() { return true; }
@@ -655,8 +655,8 @@ public:
protected:
SkTDArray<SkIRect> fTileRects;
- SkCanvas* setupCanvas(int width, int height) SK_OVERRIDE;
- SkString getConfigNameInternal() SK_OVERRIDE;
+ SkCanvas* setupCanvas(int width, int height) override;
+ SkString getConfigNameInternal() override;
private:
int fTileWidth;
@@ -692,18 +692,18 @@ public:
PlaybackCreationRenderer(const GrContext::Options &opts) : INHERITED(opts) { }
#endif
- void setup() SK_OVERRIDE;
+ void setup() override;
- bool render(SkBitmap** out = NULL) SK_OVERRIDE;
+ bool render(SkBitmap** out = NULL) override;
- SkString getPerIterTimeFormat() SK_OVERRIDE { return SkString("%.4f"); }
+ SkString getPerIterTimeFormat() override { return SkString("%.4f"); }
- SkString getNormalTimeFormat() SK_OVERRIDE { return SkString("%6.4f"); }
+ SkString getNormalTimeFormat() override { return SkString("%6.4f"); }
private:
SkAutoTDelete<SkPictureRecorder> fRecorder;
- SkString getConfigNameInternal() SK_OVERRIDE;
+ SkString getConfigNameInternal() override;
typedef PictureRenderer INHERITED;
};
« no previous file with comments | « tools/CopyTilesRenderer.h ('k') | tools/PictureResultsWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698