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

Side by Side Diff: include/core/SkUtils.h

Issue 12915007: Fix a few clang errors while trying to build tools target. (Closed) Base URL: https://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 | « no previous file | src/core/SkBitmapSampler.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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #ifndef SkUtils_DEFINED 8 #ifndef SkUtils_DEFINED
9 #define SkUtils_DEFINED 9 #define SkUtils_DEFINED
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 class SkAutoMemoryUsageProbe { 119 class SkAutoMemoryUsageProbe {
120 public: 120 public:
121 /** Record memory usage in constructor, and dump the result 121 /** Record memory usage in constructor, and dump the result
122 (delta and current total) in the destructor, with the optional 122 (delta and current total) in the destructor, with the optional
123 label. NOTE: label contents are not copied, just the ptr is 123 label. NOTE: label contents are not copied, just the ptr is
124 retained, so DON'T DELETE IT. 124 retained, so DON'T DELETE IT.
125 */ 125 */
126 SkAutoMemoryUsageProbe(const char label[]); 126 SkAutoMemoryUsageProbe(const char label[]);
127 ~SkAutoMemoryUsageProbe(); 127 ~SkAutoMemoryUsageProbe();
128 private: 128 private:
129 const char* fLabel;
scroggo 2013/03/24 14:58:01 I wonder if we should just #if 0 or remove the ent
130 size_t fBytesAllocated;
131 }; 129 };
132 130
133 #endif 131 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkBitmapSampler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698