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

Unified Diff: Source/platform/graphics/ReplayingCanvas.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 months 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
Index: Source/platform/graphics/ReplayingCanvas.h
diff --git a/Source/platform/graphics/ReplayingCanvas.h b/Source/platform/graphics/ReplayingCanvas.h
index 18bd5a57a9e49397ee2baec11d0ab8e1c3e50168..93a69412a1ecd4c18f6a50a8a75f6d3239170224 100644
--- a/Source/platform/graphics/ReplayingCanvas.h
+++ b/Source/platform/graphics/ReplayingCanvas.h
@@ -41,44 +41,44 @@ public:
ReplayingCanvas(SkBitmap, unsigned fromStep, unsigned toStep);
void resetStepCount();
- virtual bool abortDrawing() OVERRIDE;
+ virtual bool abortDrawing() override;
- virtual void clear(SkColor) OVERRIDE;
- virtual void drawPaint(const SkPaint&) OVERRIDE;
- virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) OVERRIDE;
- virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE;
- virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE;
- virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE;
- virtual void drawPath(const SkPath&, const SkPaint&) OVERRIDE;
- virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) OVERRIDE;
- virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectFlags) OVERRIDE;
- virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) OVERRIDE;
- virtual void drawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) OVERRIDE;
- virtual void drawSprite(const SkBitmap&, int left, int top, const SkPaint* = 0) OVERRIDE;
+ virtual void clear(SkColor) override;
+ virtual void drawPaint(const SkPaint&) override;
+ virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override;
+ virtual void drawRect(const SkRect&, const SkPaint&) override;
+ virtual void drawOval(const SkRect&, const SkPaint&) override;
+ virtual void drawRRect(const SkRRect&, const SkPaint&) override;
+ virtual void drawPath(const SkPath&, const SkPaint&) override;
+ virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) override;
+ virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectFlags) override;
+ virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) override;
+ virtual void drawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) override;
+ virtual void drawSprite(const SkBitmap&, int left, int top, const SkPaint* = 0) override;
virtual void drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[],
- const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint&) OVERRIDE;
- virtual void drawData(const void* data, size_t length) OVERRIDE;
- virtual void beginCommentGroup(const char* description) OVERRIDE;
- virtual void addComment(const char* keyword, const char* value) OVERRIDE;
- virtual void endCommentGroup() OVERRIDE;
+ const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint&) override;
+ virtual void drawData(const void* data, size_t length) override;
+ virtual void beginCommentGroup(const char* description) override;
+ virtual void addComment(const char* keyword, const char* value) override;
+ virtual void endCommentGroup() override;
- virtual void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&) OVERRIDE;
- virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, const SkPaint&) OVERRIDE;
- virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], const SkPaint&) OVERRIDE;
- virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkPaint&) OVERRIDE;
- virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkMatrix*, const SkPaint&) OVERRIDE;
- virtual void onPushCull(const SkRect& cullRect) OVERRIDE;
- virtual void onPopCull() OVERRIDE;
- virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) OVERRIDE;
- virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) OVERRIDE;
- virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) OVERRIDE;
- virtual void onClipRegion(const SkRegion&, SkRegion::Op) OVERRIDE;
+ virtual void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&) override;
+ virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, const SkPaint&) override;
+ virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], const SkPaint&) override;
+ virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkPaint&) override;
+ virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkMatrix*, const SkPaint&) override;
+ virtual void onPushCull(const SkRect& cullRect) override;
+ virtual void onPopCull() override;
+ virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
+ virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
+ virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
+ virtual void onClipRegion(const SkRegion&, SkRegion::Op) override;
virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*);
- virtual void didSetMatrix(const SkMatrix&) OVERRIDE;
- virtual void didConcat(const SkMatrix&) OVERRIDE;
- virtual void willSave() OVERRIDE;
- SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint*, SaveFlags) OVERRIDE;
- virtual void willRestore() OVERRIDE;
+ virtual void didSetMatrix(const SkMatrix&) override;
+ virtual void didConcat(const SkMatrix&) override;
+ virtual void willSave() override;
+ SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint*, SaveFlags) override;
+ virtual void willRestore() override;
private:
unsigned m_fromStep;
« no previous file with comments | « Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp ('k') | Source/platform/graphics/StaticBitmapImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698