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;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void getInvariantOutputColor(GrInitInvariantOutput* out) const {
|
void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
|
||||||
fPrimitiveProcessor->getInvariantOutputColor(out);
|
fPrimitiveProcessor->getInvariantOutputColor(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void getInvariantOutputCoverage(GrInitInvariantOutput* out) const {
|
void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override {
|
||||||
fPrimitiveProcessor->getInvariantOutputCoverage(out);
|
fPrimitiveProcessor->getInvariantOutputCoverage(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ private:
|
|||||||
this->initClassID<GrDrawPathBatch>();
|
this->initClassID<GrDrawPathBatch>();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void initBatchTracker(const GrPipelineOptimizations& opts) {
|
void initBatchTracker(const GrPipelineOptimizations& opts) override {
|
||||||
fPrimitiveProcessor->initBatchTracker(this->tracker(), opts);
|
fPrimitiveProcessor->initBatchTracker(this->tracker(), opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
class SkPDFType0Font : public SkPDFFont {
|
class SkPDFType0Font : public SkPDFFont {
|
||||||
public:
|
public:
|
||||||
virtual ~SkPDFType0Font();
|
virtual ~SkPDFType0Font();
|
||||||
virtual bool multiByteGlyphs() const { return true; }
|
bool multiByteGlyphs() const override { return true; }
|
||||||
virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage);
|
SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage) override;
|
||||||
#ifdef SK_DEBUG
|
#ifdef SK_DEBUG
|
||||||
void emitObject(SkWStream*,
|
void emitObject(SkWStream*,
|
||||||
const SkPDFObjNumMap&,
|
const SkPDFObjNumMap&,
|
||||||
|
Loading…
Reference in New Issue
Block a user