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

Side by Side Diff: src/core/SkPicturePreroll.cpp

Issue 894153002: add missing SK_OVERRIDE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkPicture.h" 9 #include "SkPicture.h"
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 void onDrawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE { 57 void onDrawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE {
58 this->handlePaint(paint); 58 this->handlePaint(paint);
59 } 59 }
60 60
61 void onDrawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE { 61 void onDrawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE {
62 this->handlePaint(paint); 62 this->handlePaint(paint);
63 } 63 }
64 64
65 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint& paint) { 65 void onDrawPoints(PointMode, size_t, const SkPoint[], const SkPaint& paint) SK_OVERRIDE {
66 this->handlePaint(paint); 66 this->handlePaint(paint);
67 } 67 }
68 68
69 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[], 69 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[],
70 SkXfermode*, const uint16_t[], int, const SkPaint& paint ) SK_OVERRIDE { 70 SkXfermode*, const uint16_t[], int, const SkPaint& paint ) SK_OVERRIDE {
71 this->handlePaint(paint); 71 this->handlePaint(paint);
72 } 72 }
73 73
74 void onDrawPath(const SkPath&, const SkPaint& paint) SK_OVERRIDE { 74 void onDrawPath(const SkPath&, const SkPaint& paint) SK_OVERRIDE {
75 this->handlePaint(paint); 75 this->handlePaint(paint);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 if (ibounds.isEmpty()) { 153 if (ibounds.isEmpty()) {
154 return; 154 return;
155 } 155 }
156 156
157 SkPrerollCanvas canvas(ibounds.width(), ibounds.height(), props); 157 SkPrerollCanvas canvas(ibounds.width(), ibounds.height(), props);
158 158
159 canvas.translate(-SkIntToScalar(ibounds.left()), -SkIntToScalar(ibounds.top( ))); 159 canvas.translate(-SkIntToScalar(ibounds.left()), -SkIntToScalar(ibounds.top( )));
160 canvas.drawPicture(this, initialMatrix, NULL); 160 canvas.drawPicture(this, initialMatrix, NULL);
161 } 161 }
162 162
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698