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

Side by Side Diff: src/utils/SkDumpCanvas.cpp

Issue 2123633002: all dumpcanvas to be built in release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « include/utils/SkDumpCanvas.h ('k') | 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 2011 Google Inc. 2 * Copyright 2011 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 "SkData.h"
8 #include "SkDumpCanvas.h" 9 #include "SkDumpCanvas.h"
9
10 #ifdef SK_DEBUG
11 #include "SkData.h"
12 #include "SkPatchUtils.h" 10 #include "SkPatchUtils.h"
13 #include "SkPicture.h" 11 #include "SkPicture.h"
14 #include "SkPixelRef.h" 12 #include "SkPixelRef.h"
15 #include "SkRRect.h" 13 #include "SkRRect.h"
16 #include "SkString.h" 14 #include "SkString.h"
17 #include "SkTextBlob.h" 15 #include "SkTextBlob.h"
18 #include <stdarg.h> 16 #include <stdarg.h>
19 #include <stdio.h> 17 #include <stdio.h>
20 18
21 // needed just to know that these are all subclassed from SkFlattenable 19 // needed just to know that these are all subclassed from SkFlattenable
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 fProc(msg.c_str(), fRefcon); 544 fProc(msg.c_str(), fRefcon);
547 } 545 }
548 546
549 /////////////////////////////////////////////////////////////////////////////// 547 ///////////////////////////////////////////////////////////////////////////////
550 548
551 static void dumpToDebugf(const char text[], void*) { 549 static void dumpToDebugf(const char text[], void*) {
552 SkDebugf("%s\n", text); 550 SkDebugf("%s\n", text);
553 } 551 }
554 552
555 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, nullptr) {} 553 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, nullptr) {}
556
557 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDumpCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698