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

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

Issue 894833002: 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 | « src/ports/SkImageGenerator_skia.cpp ('k') | tests/PDFPrimitivesTest.cpp » ('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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 if (gTable[i] == dst) { 110 if (gTable[i] == dst) {
111 return gTable[i+1]; 111 return gTable[i+1];
112 } 112 }
113 } 113 }
114 114
115 return gTable[SK_ARRAY_COUNT(gTable)-1]; 115 return gTable[SK_ARRAY_COUNT(gTable)-1];
116 } 116 }
117 117
118 Factory getFactory() const SK_OVERRIDE { return NULL; } 118 Factory getFactory() const SK_OVERRIDE { return NULL; }
119 #ifndef SK_IGNORE_TO_STRING 119 #ifndef SK_IGNORE_TO_STRING
120 virtual void toString(SkString* str) const { str->set("OverdrawXfermode"); } 120 virtual void toString(SkString* str) const SK_OVERRIDE { str->set("OverdrawX fermode"); }
121 #endif 121 #endif
122 }; 122 };
123 123
124 class SkOverdrawFilter : public SkDrawFilter { 124 class SkOverdrawFilter : public SkDrawFilter {
125 public: 125 public:
126 SkOverdrawFilter() { 126 SkOverdrawFilter() {
127 fXferMode = SkNEW(OverdrawXfermode); 127 fXferMode = SkNEW(OverdrawXfermode);
128 } 128 }
129 129
130 virtual ~SkOverdrawFilter() { 130 virtual ~SkOverdrawFilter() {
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 } 671 }
672 672
673 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { 673 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) {
674 if (fCalledAddStackData) { 674 if (fCalledAddStackData) {
675 fClipStackData.appendf("<br>"); 675 fClipStackData.appendf("<br>");
676 addPathData(devPath, "pathOut"); 676 addPathData(devPath, "pathOut");
677 return true; 677 return true;
678 } 678 }
679 return false; 679 return false;
680 } 680 }
OLDNEW
« no previous file with comments | « src/ports/SkImageGenerator_skia.cpp ('k') | tests/PDFPrimitivesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698