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

Unified Diff: experimental/iOSSampleApp/SkSampleUIView.mm

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 | « experimental/SkiaExamples/SkExample.h ('k') | experimental/tools/PageCachingDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/iOSSampleApp/SkSampleUIView.mm
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm
index 41bf91d4e9360adc0ae2d493a651ee5977339695..6234739e07212cf7e71904e18a700d046caf360b 100644
--- a/experimental/iOSSampleApp/SkSampleUIView.mm
+++ b/experimental/iOSSampleApp/SkSampleUIView.mm
@@ -40,7 +40,7 @@ public:
#endif
}
- virtual void setUpBackend(SampleWindow* win, int msaaSampleCount) SK_OVERRIDE {
+ void setUpBackend(SampleWindow* win, int msaaSampleCount) SK_OVERRIDE {
SkASSERT(SkOSWindow::kNone_BackEndType == fBackend);
fBackend = SkOSWindow::kNone_BackEndType;
@@ -105,7 +105,7 @@ public:
this->windowSizeChanged(win);
}
- virtual void tearDownBackend(SampleWindow *win) SK_OVERRIDE {
+ void tearDownBackend(SampleWindow *win) SK_OVERRIDE {
#if SK_SUPPORT_GPU
SkSafeUnref(fCurContext);
fCurContext = NULL;
@@ -120,7 +120,7 @@ public:
fBackend = SampleWindow::kNone_BackEndType;
}
- virtual SkSurface* createSurface(SampleWindow::DeviceType dType, SampleWindow* win) SK_OVERRIDE{
+ SkSurface* createSurface(SampleWindow::DeviceType dType, SampleWindow* win) SK_OVERRIDE{
#if SK_SUPPORT_GPU
if (SampleWindow::IsGpuDeviceType(dType) && fCurContext) {
SkSurfaceProps props(win->getSurfaceProps());
@@ -141,7 +141,7 @@ public:
win->present();
}
- virtual void windowSizeChanged(SampleWindow* win) SK_OVERRIDE {
+ void windowSizeChanged(SampleWindow* win) SK_OVERRIDE {
#if SK_SUPPORT_GPU
if (NULL != fCurContext) {
SkOSWindow::AttachmentInfo info;
@@ -163,7 +163,7 @@ public:
#endif
}
- virtual GrContext* getGrContext() SK_OVERRIDE {
+ GrContext* getGrContext() SK_OVERRIDE {
#if SK_SUPPORT_GPU
return fCurContext;
#else
@@ -171,7 +171,7 @@ public:
#endif
}
- virtual GrRenderTarget* getGrRenderTarget() SK_OVERRIDE {
+ GrRenderTarget* getGrRenderTarget() SK_OVERRIDE {
#if SK_SUPPORT_GPU
return fCurRenderTarget;
#else
« no previous file with comments | « experimental/SkiaExamples/SkExample.h ('k') | experimental/tools/PageCachingDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698