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

Unified Diff: example/HelloWorld.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 | « dm/DMSrcSinkAndroid.cpp ('k') | experimental/AndroidPathRenderer/GrAndroidPathRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/HelloWorld.h
diff --git a/example/HelloWorld.h b/example/HelloWorld.h
index e5cde271bfe01c9735cfc5a5f7b272ac2e8f7164..a1508c582d12b90c38fb70980be22ab348c48f4f 100644
--- a/example/HelloWorld.h
+++ b/example/HelloWorld.h
@@ -25,7 +25,7 @@ public:
kGPU_DeviceType,
};
HelloWorldWindow(void* hwnd);
- virtual ~HelloWorldWindow() SK_OVERRIDE;
+ virtual ~HelloWorldWindow() override;
// Changes the device type of the object.
bool setUpBackend();
@@ -33,7 +33,7 @@ public:
DeviceType getDeviceType() const { return fType; }
protected:
- SkSurface* createSurface() SK_OVERRIDE {
+ SkSurface* createSurface() override {
if (kGPU_DeviceType == fType) {
SkSurfaceProps props(INHERITED::getSurfaceProps());
return SkSurface::NewRenderTargetDirect(fRenderTarget, &props);
@@ -43,16 +43,16 @@ protected:
return fSurface = SkSurface::NewRaster(info);
}
- void draw(SkCanvas* canvas) SK_OVERRIDE;
+ void draw(SkCanvas* canvas) override;
void drawContents(SkCanvas* canvas);
- void onSizeChange() SK_OVERRIDE;
+ void onSizeChange() override;
private:
bool findNextMatch(); // Set example to the first one that matches FLAGS_match.
void setTitle();
void setUpRenderTarget();
- bool onHandleChar(SkUnichar unichar) SK_OVERRIDE;
+ bool onHandleChar(SkUnichar unichar) override;
void tearDownBackend();
// draw contents
« no previous file with comments | « dm/DMSrcSinkAndroid.cpp ('k') | experimental/AndroidPathRenderer/GrAndroidPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698