Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2016 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 #ifndef SkToFromValue_DEFINED | |
| 8 #define SkToFromValue_DEFINED | |
| 9 | |
| 10 #include "SkValue.h" | |
| 11 | |
| 12 template <typename T> | |
| 13 SkValue SkToValue(const T&); | |
| 14 | |
| 15 template <typename T> | |
| 16 SkValue SkToValue(const T*); | |
| 17 | |
| 18 template <typename T> | |
| 19 bool SkFromValue(const SkValue&, T*); | |
| 20 | |
| 21 #endif // SkToFromValue_DEFINED | |
| OLD | NEW |