modules/svg/include/SkSVGIDMapper.h
raw| 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 | |
| 8 | #ifndef SkSVGIDMapper_DEFINED |
| 9 | #define SkSVGIDMapper_DEFINED |
| 10 | |
| 11 | #include "include/core/SkRefCnt.h" |
| 12 | #include "src/core/SkTHash.h" |
| 13 | |
| 14 | class SkString; |
| 15 | class SkSVGNode; |
| 16 | |
| 17 | using SkSVGIDMapper = skia_private::THashMap<SkString, sk_sp<SkSVGNode>>; |
| 18 | |
| 19 | #endif // SkSVGIDMapper_DEFINED |