Thou shalt use override consistently.
TBR=herb@google.com BUG=skia: Review URL: https://codereview.chromium.org/1285973006
This commit is contained in:
parent
ab42ec79d5
commit
3a30cc1cbb
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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&,
|
||||
|
Loading…
Reference in New Issue
Block a user