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

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

Issue 1313203003: Remove include of stdlib.h from SkTypes.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up qsort conversion. Created 5 years, 3 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 | « samplecode/SamplePath.cpp ('k') | src/core/SkRegion_path.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 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 "SkGraphics.h" 10 #include "SkGraphics.h"
(...skipping 10 matching lines...) Expand all
21 #include "SkRefCnt.h" 21 #include "SkRefCnt.h"
22 #include "SkRTConf.h" 22 #include "SkRTConf.h"
23 #include "SkScalerContext.h" 23 #include "SkScalerContext.h"
24 #include "SkShader.h" 24 #include "SkShader.h"
25 #include "SkStream.h" 25 #include "SkStream.h"
26 #include "SkTSearch.h" 26 #include "SkTSearch.h"
27 #include "SkTime.h" 27 #include "SkTime.h"
28 #include "SkUtils.h" 28 #include "SkUtils.h"
29 #include "SkXfermode.h" 29 #include "SkXfermode.h"
30 30
31 #include <stdlib.h>
32
31 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { 33 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) {
32 if (major) { 34 if (major) {
33 *major = SKIA_VERSION_MAJOR; 35 *major = SKIA_VERSION_MAJOR;
34 } 36 }
35 if (minor) { 37 if (minor) {
36 *minor = SKIA_VERSION_MINOR; 38 *minor = SKIA_VERSION_MINOR;
37 } 39 }
38 if (patch) { 40 if (patch) {
39 *patch = SKIA_VERSION_PATCH; 41 *patch = SKIA_VERSION_PATCH;
40 } 42 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 if (nextEqual) { 102 if (nextEqual) {
101 val = (size_t) atoi(nextEqual + 1); 103 val = (size_t) atoi(nextEqual + 1);
102 } 104 }
103 (gFlags[i].fFunc)(val); 105 (gFlags[i].fFunc)(val);
104 break; 106 break;
105 } 107 }
106 } 108 }
107 flags = nextSemi + 1; 109 flags = nextSemi + 1;
108 } while (nextSemi); 110 } while (nextSemi);
109 } 111 }
OLDNEW
« no previous file with comments | « samplecode/SamplePath.cpp ('k') | src/core/SkRegion_path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698