Chromium Code Reviews| Index: src/ports/SkTLS_none.cpp |
| =================================================================== |
| --- src/ports/SkTLS_none.cpp (revision 0) |
| +++ src/ports/SkTLS_none.cpp (working copy) |
| @@ -0,0 +1,18 @@ |
| +/* |
| + * Copyright 2013 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#include "SkTLS.h" |
| + |
|
robertphillips
2013/07/16 14:44:12
initialize to NULL?
|
| +static void* gSpecific; |
| + |
| +void* SkTLS::PlatformGetSpecific(bool) { |
| + return gSpecific; |
| +} |
| + |
| +void SkTLS::PlatformSetSpecific(void* ptr) { |
| + gSpecific = ptr; |
| +} |