aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/gpu/batches/GrDrawPathBatch.h6
-rw-r--r--src/pdf/SkPDFFontImpl.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h
index e60a6602f0..e8349d1ac7 100644
--- a/src/gpu/batches/GrDrawPathBatch.h
+++ b/src/gpu/batches/GrDrawPathBatch.h
@@ -29,11 +29,11 @@ public:
return string;
}
- virtual void getInvariantOutputColor(GrInitInvariantOutput* out) const {
+ void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
fPrimitiveProcessor->getInvariantOutputColor(out);
}
- virtual void getInvariantOutputCoverage(GrInitInvariantOutput* out) const {
+ void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override {
fPrimitiveProcessor->getInvariantOutputCoverage(out);
}
@@ -49,7 +49,7 @@ private:
this->initClassID<GrDrawPathBatch>();
}
- virtual void initBatchTracker(const GrPipelineOptimizations& opts) {
+ void initBatchTracker(const GrPipelineOptimizations& opts) override {
fPrimitiveProcessor->initBatchTracker(this->tracker(), opts);
}
diff --git a/src/pdf/SkPDFFontImpl.h b/src/pdf/SkPDFFontImpl.h
index 6147ad5a48..f6684489b1 100644
--- a/src/pdf/SkPDFFontImpl.h
+++ b/src/pdf/SkPDFFontImpl.h
@@ -15,8 +15,8 @@
class SkPDFType0Font : public SkPDFFont {
public:
virtual ~SkPDFType0Font();
- virtual bool multiByteGlyphs() const { return true; }
- virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage);
+ bool multiByteGlyphs() const override { return true; }
+ SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage) override;
#ifdef SK_DEBUG
void emitObject(SkWStream*,
const SkPDFObjNumMap&,