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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.cpp

Issue 1232463006: Fix up -Winconsistent-missing-override (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: llvm_coverage_build Created 5 years, 5 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 | « src/utils/debugger/SkDebugCanvas.h ('k') | tools/llvm_coverage_build » ('j') | 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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 if (NULL != fOverdrawXfermode.get()) { 71 if (NULL != fOverdrawXfermode.get()) {
72 paint->setAntiAlias(false); 72 paint->setAntiAlias(false);
73 paint->setXfermode(fOverdrawXfermode.get()); 73 paint->setXfermode(fOverdrawXfermode.get());
74 } 74 }
75 75
76 if (fOverrideFilterQuality) { 76 if (fOverrideFilterQuality) {
77 paint->setFilterQuality(fFilterQuality); 77 paint->setFilterQuality(fFilterQuality);
78 } 78 }
79 } 79 }
80 80
81 void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const S kPaint* paint) { 81 void onDrawPicture(const SkPicture* picture,
82 const SkMatrix* matrix,
83 const SkPaint* paint) override {
82 // We need to replay the picture onto this canvas in order to filter its internal paints. 84 // We need to replay the picture onto this canvas in order to filter its internal paints.
83 this->SkCanvas::onDrawPicture(picture, matrix, paint); 85 this->SkCanvas::onDrawPicture(picture, matrix, paint);
84 } 86 }
85 87
86 private: 88 private:
87 SkAutoTUnref<SkXfermode> fOverdrawXfermode; 89 SkAutoTUnref<SkXfermode> fOverdrawXfermode;
88 90
89 bool fOverrideFilterQuality; 91 bool fOverrideFilterQuality;
90 SkFilterQuality fFilterQuality; 92 SkFilterQuality fFilterQuality;
91 93
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 } 663 }
662 664
663 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { 665 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) {
664 if (fCalledAddStackData) { 666 if (fCalledAddStackData) {
665 fClipStackData.appendf("<br>"); 667 fClipStackData.appendf("<br>");
666 addPathData(devPath, "pathOut"); 668 addPathData(devPath, "pathOut");
667 return true; 669 return true;
668 } 670 }
669 return false; 671 return false;
670 } 672 }
OLDNEW
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.h ('k') | tools/llvm_coverage_build » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698