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

Unified Diff: src/pdf/SkPDFShader.cpp

Issue 808463002: Add SK_OVERRIDE to a few places that are missing it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years 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/gpu/GrPathRendering.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFShader.cpp
diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp
index 85ebe9e1451f4e41fed9eb180581ca72bc0c71c7..7023cfcd430ffea97036b4194595d055a44c8ded 100644
--- a/src/pdf/SkPDFShader.cpp
+++ b/src/pdf/SkPDFShader.cpp
@@ -515,10 +515,10 @@ public:
fResources.unrefAll();
}
- virtual bool isValid() { return fResources.count() > 0; }
+ virtual bool isValid() SK_OVERRIDE { return fResources.count() > 0; }
void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
- SkTSet<SkPDFObject*>* newResourceObjects) {
+ SkTSet<SkPDFObject*>* newResourceObjects) SK_OVERRIDE {
GetResourcesHelper(&fResources,
knownResourceObjects,
newResourceObjects);
@@ -548,7 +548,7 @@ public:
}
}
- virtual bool isValid() {
+ virtual bool isValid() SK_OVERRIDE {
return fColorShader.get() != NULL;
}
@@ -558,7 +558,7 @@ private:
SkPDFGraphicState* CreateSMaskGraphicState();
void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
- SkTSet<SkPDFObject*>* newResourceObjects) {
+ SkTSet<SkPDFObject*>* newResourceObjects) SK_OVERRIDE {
fResourceDict->getReferencedResources(knownResourceObjects,
newResourceObjects,
true);
@@ -578,10 +578,10 @@ public:
fResources.unrefAll();
}
- virtual bool isValid() { return size() > 0; }
+ virtual bool isValid() SK_OVERRIDE { return size() > 0; }
void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
- SkTSet<SkPDFObject*>* newResourceObjects) {
+ SkTSet<SkPDFObject*>* newResourceObjects) SK_OVERRIDE {
GetResourcesHelper(&fResources.toArray(),
knownResourceObjects,
newResourceObjects);
« no previous file with comments | « src/gpu/GrPathRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698