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

Unified Diff: tests/FrontBufferedStreamTest.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 | « tests/DrawBitmapRectTest.cpp ('k') | tests/GLProgramsTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FrontBufferedStreamTest.cpp
diff --git a/tests/FrontBufferedStreamTest.cpp b/tests/FrontBufferedStreamTest.cpp
index 69dade04b9a73633677f7c2079bde872875b3a6a..f3ef47db59960adb080da9269ed42dc04019e5a2 100644
--- a/tests/FrontBufferedStreamTest.cpp
+++ b/tests/FrontBufferedStreamTest.cpp
@@ -131,7 +131,7 @@ public:
: INHERITED(data, size, ownMemory)
, fIsAtEnd(false) {}
- size_t read(void* dst, size_t requested) SK_OVERRIDE {
+ size_t read(void* dst, size_t requested) override {
size_t bytesRead = this->INHERITED::read(dst, requested);
if (bytesRead < requested) {
fIsAtEnd = true;
@@ -139,7 +139,7 @@ public:
return bytesRead;
}
- bool isAtEnd() const SK_OVERRIDE {
+ bool isAtEnd() const override {
return fIsAtEnd;
}
@@ -175,19 +175,19 @@ public:
, fHasPosition(hasPosition)
{}
- bool hasLength() const SK_OVERRIDE {
+ bool hasLength() const override {
return fHasLength;
}
- bool hasPosition() const SK_OVERRIDE {
+ bool hasPosition() const override {
return fHasPosition;
}
- size_t read(void*, size_t) SK_OVERRIDE {
+ size_t read(void*, size_t) override {
return 0;
}
- bool isAtEnd() const SK_OVERRIDE {
+ bool isAtEnd() const override {
return true;
}
@@ -264,7 +264,7 @@ public:
: fAtEnd(false)
, fReadAfterEnd(false)
{}
- size_t read(void* buffer, size_t size) SK_OVERRIDE {
+ size_t read(void* buffer, size_t size) override {
if (fAtEnd) {
fReadAfterEnd = true;
} else {
@@ -273,7 +273,7 @@ public:
return 0;
}
- bool isAtEnd() const SK_OVERRIDE {
+ bool isAtEnd() const override {
return fAtEnd;
}
« no previous file with comments | « tests/DrawBitmapRectTest.cpp ('k') | tests/GLProgramsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698