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

Unified Diff: src/doc/SkDocument_XPS.cpp

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 | « src/doc/SkDocument_PDF.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/doc/SkDocument_XPS.cpp
diff --git a/src/doc/SkDocument_XPS.cpp b/src/doc/SkDocument_XPS.cpp
index db14a708bdeb059943f11c62f7bd1068578e8405..e0a714768a02e6190ae1017d1025d18964b9ea8c 100644
--- a/src/doc/SkDocument_XPS.cpp
+++ b/src/doc/SkDocument_XPS.cpp
@@ -30,7 +30,7 @@ public:
protected:
virtual SkCanvas* onBeginPage(SkScalar width,
SkScalar height,
- const SkRect& trimBox) SK_OVERRIDE {
+ const SkRect& trimBox) override {
fDevice.beginSheet(fUnitsPerMeter, fPixelsPerMeter,
SkSize::Make(width, height));
fCanvas.reset(SkNEW_ARGS(SkCanvas, (&fDevice)));
@@ -39,19 +39,19 @@ protected:
return fCanvas.get();
}
- void onEndPage() SK_OVERRIDE {
+ void onEndPage() override {
SkASSERT(fCanvas.get());
fCanvas->flush();
fCanvas.reset(NULL);
fDevice.endSheet();
}
- bool onClose(SkWStream*) SK_OVERRIDE {
+ bool onClose(SkWStream*) override {
SkASSERT(!fCanvas.get());
return fDevice.endPortfolio();
}
- void onAbort() SK_OVERRIDE {}
+ void onAbort() override {}
private:
SkXPSDevice fDevice;
« no previous file with comments | « src/doc/SkDocument_PDF.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698