| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 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 #include "SkTypes.h" | 8 #include "SkTypes.h" |
| 9 #if defined(SK_BUILD_FOR_MAC) | 9 #if defined(SK_BUILD_FOR_MAC) |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 return nullptr; | 119 return nullptr; |
| 120 } | 120 } |
| 121 MacGLContext* ctx = new MacGLContext; | 121 MacGLContext* ctx = new MacGLContext; |
| 122 if (!ctx->isValid()) { | 122 if (!ctx->isValid()) { |
| 123 delete ctx; | 123 delete ctx; |
| 124 return nullptr; | 124 return nullptr; |
| 125 } | 125 } |
| 126 return ctx; | 126 return ctx; |
| 127 } | 127 } |
| 128 | 128 |
| 129 void SkReleasePlatformGLAPIsInThread() { |
| 130 } |
| 131 |
| 129 #endif//defined(SK_BUILD_FOR_MAC) | 132 #endif//defined(SK_BUILD_FOR_MAC) |
| OLD | NEW |