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

Unified Diff: include/utils/SkPictureUtils.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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 | « include/utils/SkNWayCanvas.h ('k') | include/utils/SkProxyCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/SkPictureUtils.h
diff --git a/include/utils/SkPictureUtils.h b/include/utils/SkPictureUtils.h
index 9bdf6f69a143041a0d7d8d1d18751b9600ae9a04..80d8b81e1f9982c605013e372b5c3281d0b01dbd 100644
--- a/include/utils/SkPictureUtils.h
+++ b/include/utils/SkPictureUtils.h
@@ -47,14 +47,14 @@ public:
// and rects.
class SkPixelRefsAndRectsList : public SkPixelRefContainer {
public:
- virtual void add(SkPixelRef* pr, const SkRect& rect) SK_OVERRIDE {
+ void add(SkPixelRef* pr, const SkRect& rect) SK_OVERRIDE {
PixelRefAndRect *dst = fArray.append();
dst->fPixelRef = pr;
dst->fRect = rect;
}
- virtual void query(const SkRect& queryRect, SkTDArray<SkPixelRef*> *result) SK_OVERRIDE {
+ void query(const SkRect& queryRect, SkTDArray<SkPixelRef*> *result) SK_OVERRIDE {
for (int i = 0; i < fArray.count(); ++i) {
if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
*result->append() = fArray[i].fPixelRef;
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | include/utils/SkProxyCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698