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

Unified Diff: src/doc/SkDocument_PDF.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/core/SkYUVPlanesCache.cpp ('k') | src/doc/SkDocument_XPS.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/doc/SkDocument_PDF.cpp
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp
index fcbba3830677c4b313e59b7e2333bfdd40ca2c56..ae01c82141d74972c97eb762c05b270acc601d0d 100644
--- a/src/doc/SkDocument_PDF.cpp
+++ b/src/doc/SkDocument_PDF.cpp
@@ -309,7 +309,7 @@ public:
protected:
virtual SkCanvas* onBeginPage(SkScalar width, SkScalar height,
- const SkRect& trimBox) SK_OVERRIDE {
+ const SkRect& trimBox) override {
SkASSERT(!fCanvas.get());
SkISize pageSize = SkISize::Make(
@@ -323,13 +323,13 @@ protected:
return fCanvas.get();
}
- void onEndPage() SK_OVERRIDE {
+ void onEndPage() override {
SkASSERT(fCanvas.get());
fCanvas->flush();
fCanvas.reset(NULL);
}
- bool onClose(SkWStream* stream) SK_OVERRIDE {
+ bool onClose(SkWStream* stream) override {
SkASSERT(!fCanvas.get());
bool success = emit_pdf_document(fPageDevices, stream);
@@ -338,7 +338,7 @@ protected:
return success;
}
- void onAbort() SK_OVERRIDE {
+ void onAbort() override {
fPageDevices.unrefAll();
fCanon.reset();
}
« no previous file with comments | « src/core/SkYUVPlanesCache.cpp ('k') | src/doc/SkDocument_XPS.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698