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

Side by Side Diff: src/core/SkDebug.cpp

Issue 1438773003: Fix GOOGLE3 Android build. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Move SkDebugfForDumpStackTrace to SkPostConfig.h Created 5 years, 1 month 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/core/SkPostConfig.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 /* 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 "SkTypes.h" 10 #include "SkTypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 SkASSERT((unsigned)x == x); 50 SkASSERT((unsigned)x == x);
51 return (unsigned)x; 51 return (unsigned)x;
52 } 52 }
53 53
54 size_t SkToSizeT(uintmax_t x) { 54 size_t SkToSizeT(uintmax_t x) {
55 SkASSERT((size_t)x == x); 55 SkASSERT((size_t)x == x);
56 return (size_t)x; 56 return (size_t)x;
57 } 57 }
58 58
59 #endif 59 #endif
60
61 #if defined(GOOGLE3)
62 void SkDebugfForDumpStackTrace(const char* data, void* unused) {
63 SkDebugf("%s", data);
64 }
65 #endif
OLDNEW
« no previous file with comments | « include/core/SkPostConfig.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698