| Index: src/core/SkTMultiMap.h
|
| diff --git a/src/gpu/GrTMultiMap.h b/src/core/SkTMultiMap.h
|
| similarity index 95%
|
| rename from src/gpu/GrTMultiMap.h
|
| rename to src/core/SkTMultiMap.h
|
| index 0007a04a2adb6c6dd535bbdf3dd2d5f5ac21663e..c0b59ba0b9534a9a03512306efa8ebfe9eacc39e 100644
|
| --- a/src/gpu/GrTMultiMap.h
|
| +++ b/src/core/SkTMultiMap.h
|
| @@ -6,8 +6,8 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#ifndef GrTMultiMap_DEFINED
|
| -#define GrTMultiMap_DEFINED
|
| +#ifndef SkTMultiMap_DEFINED
|
| +#define SkTMultiMap_DEFINED
|
|
|
| #include "GrTypes.h"
|
| #include "SkTDynamicHash.h"
|
| @@ -18,7 +18,7 @@
|
| template <typename T,
|
| typename Key,
|
| typename HashTraits=T>
|
| -class GrTMultiMap {
|
| +class SkTMultiMap {
|
| struct ValueList {
|
| explicit ValueList(T* value) : fValue(value), fNext(NULL) {}
|
|
|
| @@ -28,9 +28,9 @@ class GrTMultiMap {
|
| ValueList* fNext;
|
| };
|
| public:
|
| - GrTMultiMap() : fCount(0) {}
|
| + SkTMultiMap() : fCount(0) {}
|
|
|
| - ~GrTMultiMap() {
|
| + ~SkTMultiMap() {
|
| SkASSERT(fCount == 0);
|
| SkASSERT(fHash.count() == 0);
|
| }
|
|
|