C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}
NOPRESUBMIT=true
BUG=skia:
DOCS_PREVIEW= https://skia.org/?cl=1037793002
Review URL: https://codereview.chromium.org/1037793002
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h
index 9aac01e..d93d08a 100644
--- a/include/effects/SkLayerDrawLooper.h
+++ b/include/effects/SkLayerDrawLooper.h
@@ -73,21 +73,21 @@
LayerInfo();
};
- SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE;
+ SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const override;
- size_t contextSize() const SK_OVERRIDE { return sizeof(LayerDrawLooperContext); }
+ size_t contextSize() const override { return sizeof(LayerDrawLooperContext); }
- bool asABlurShadow(BlurShadowRec* rec) const SK_OVERRIDE;
+ bool asABlurShadow(BlurShadowRec* rec) const override;
SK_TO_STRING_OVERRIDE()
- Factory getFactory() const SK_OVERRIDE { return CreateProc; }
+ Factory getFactory() const override { return CreateProc; }
static SkFlattenable* CreateProc(SkReadBuffer& buffer);
protected:
SkLayerDrawLooper();
- void flatten(SkWriteBuffer&) const SK_OVERRIDE;
+ void flatten(SkWriteBuffer&) const override;
private:
struct Rec {
@@ -105,7 +105,7 @@
explicit LayerDrawLooperContext(const SkLayerDrawLooper* looper);
protected:
- bool next(SkCanvas*, SkPaint* paint) SK_OVERRIDE;
+ bool next(SkCanvas*, SkPaint* paint) override;
private:
Rec* fCurrRec;