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

Side by Side Diff: src/animator/SkPaintParts.cpp

Issue 12772003: Removed unused parameters (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/animator/SkHitTest.cpp ('k') | src/core/SkPtrRecorder.h » ('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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 "SkPaintParts.h" 10 #include "SkPaintParts.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 bool SkDrawTypeface::add() { 86 bool SkDrawTypeface::add() {
87 if (fPaint->typeface != (SkDrawTypeface*) -1) 87 if (fPaint->typeface != (SkDrawTypeface*) -1)
88 return true; 88 return true;
89 fPaint->typeface = this; 89 fPaint->typeface = this;
90 fPaint->fOwnsTypeface = true; 90 fPaint->fOwnsTypeface = true;
91 return false; 91 return false;
92 } 92 }
93 93
94 #ifdef SK_DUMP_ENABLED 94 #ifdef SK_DUMP_ENABLED
95 void SkDrawTypeface::dump(SkAnimateMaker* maker) { 95 void SkDrawTypeface::dump(SkAnimateMaker*) {
96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontNa me.c_str()); 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontNa me.c_str());
97 SkString string; 97 SkString string;
98 SkDump::GetEnumString(SkType_FontStyle, style, &string); 98 SkDump::GetEnumString(SkType_FontStyle, style, &string);
99 SkDebugf("style=\"%s\" />\n", string.c_str()); 99 SkDebugf("style=\"%s\" />\n", string.c_str());
100 } 100 }
101 #endif 101 #endif
OLDNEW
« no previous file with comments | « src/animator/SkHitTest.cpp ('k') | src/core/SkPtrRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698