OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkTLS.h" | 8 #include "SkTLS.h" |
9 | 9 |
10 static void* gSpecific = NULL; | 10 static void* gSpecific = nullptr; |
11 | 11 |
12 void* SkTLS::PlatformGetSpecific(bool) { | 12 void* SkTLS::PlatformGetSpecific(bool) { |
13 return gSpecific; | 13 return gSpecific; |
14 } | 14 } |
15 | 15 |
16 void SkTLS::PlatformSetSpecific(void* ptr) { | 16 void SkTLS::PlatformSetSpecific(void* ptr) { |
17 gSpecific = ptr; | 17 gSpecific = ptr; |
18 } | 18 } |
OLD | NEW |