aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-25 18:53:17 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-25 18:53:17 +0000
commitf585c451731643afe5885b273ca2c268187d8dee (patch)
tree0451e671c30d5ad3be2429331bfeb18d482a1186
parentddd8fa8f45159537d828e2fb6e1a7fce0633bf25 (diff)
Remove GrTLList.h
-rw-r--r--gyp/gpu.gypi1
-rw-r--r--src/gpu/GrTLList.h54
2 files changed, 0 insertions, 55 deletions
diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi
index b9ea73928b..1401a59e3f 100644
--- a/gyp/gpu.gypi
+++ b/gyp/gpu.gypi
@@ -121,7 +121,6 @@
'<(skia_src_path)/gpu/GrTexture.cpp',
'<(skia_src_path)/gpu/GrTextureAccess.cpp',
'<(skia_src_path)/gpu/GrTHashCache.h',
- '<(skia_src_path)/gpu/GrTLList.h',
'<(skia_src_path)/gpu/GrVertexBuffer.h',
'<(skia_src_path)/gpu/gr_unittests.cpp',
diff --git a/src/gpu/GrTLList.h b/src/gpu/GrTLList.h
deleted file mode 100644
index e875118d2d..0000000000
--- a/src/gpu/GrTLList.h
+++ /dev/null
@@ -1,54 +0,0 @@
-
-/*
- * Copyright 2010 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-
-#ifndef GrTLList_DEFINED
-#define GrTLList_DEFINED
-
-#include "GrNoncopyable.h"
-
-template <typename T> class GrTLList : GrNoncopyable {
-public:
- class Entry {
- Entry* fPrev;
- Entry* fNext;
- };
-
- GrTLList() : fHead(NULL), fTail(NULL) {}
-#if GR_DEBUG
- ~GrTLList() {
- GrAssert(NULL == fHead);
- GrAssert(NULL == ftail);
- }
-#endif
-
- T* head() const { return fHead; }
- T* tail() const { return fTail; }
-
- void addToHead(T*);
- void addToTail(T*);
- void removeFromList(T*);
-
-private:
- Entry* fHead;
- Entry* fTail;
-
- friend class Entry;
-};
-
-
-class Parent {
- GrTDLList<Child> fList;
-};
-
-class Child : public GrTLList::Entry<Child> {
-};
-
-#endif
-