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

Unified Diff: Source/platform/graphics/ProfilingCanvas.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
« no previous file with comments | « Source/platform/graphics/LoggingCanvas.h ('k') | Source/platform/graphics/RecordingImageBufferSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ProfilingCanvas.h
diff --git a/Source/platform/graphics/ProfilingCanvas.h b/Source/platform/graphics/ProfilingCanvas.h
index 6721267febc86218fdf96cec06fa2e2a8aa3ae32..1749e491aed263e86242462f1b0d8da00fc68481 100644
--- a/Source/platform/graphics/ProfilingCanvas.h
+++ b/Source/platform/graphics/ProfilingCanvas.h
@@ -41,42 +41,42 @@ public:
ProfilingCanvas(SkBitmap);
void setTimings(Vector<double>*);
- 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:
Vector<double>* m_timings;
« no previous file with comments | « Source/platform/graphics/LoggingCanvas.h ('k') | Source/platform/graphics/RecordingImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698