Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: src/core/SkTMultiMap.h

Issue 401343002: Move GrTMultiMap to src/core and rename it (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrResourceCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | src/gpu/GrResourceCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698