aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGIDMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/svg/model/SkSVGIDMapper.h')
-rw-r--r--experimental/svg/model/SkSVGIDMapper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGIDMapper.h b/experimental/svg/model/SkSVGIDMapper.h
new file mode 100644
index 0000000000..d88c1f12b1
--- /dev/null
+++ b/experimental/svg/model/SkSVGIDMapper.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkSVGIDMapper_DEFINED
+#define SkSVGIDMapper_DEFINED
+
+#include "SkRefCnt.h"
+#include "SkTHash.h"
+
+class SkString;
+class SkSVGNode;
+
+using SkSVGIDMapper = SkTHashMap<SkString, sk_sp<SkSVGNode>>;
+
+#endif // SkSVGIDMapper_DEFINED