Index: src/core/SkRemote.h |
diff --git a/src/core/SkRemote.h b/src/core/SkRemote.h |
index 87333d82f75e5a6733ac6ef77507f0df3e88c0bb..3bbb3b793ac47695d2e067258a603a5abb351b67 100644 |
--- a/src/core/SkRemote.h |
+++ b/src/core/SkRemote.h |
@@ -58,22 +58,7 @@ namespace SkRemote { |
virtual void strokePath(ID path, ID misc, ID stroke) = 0; |
}; |
- struct Cache; |
- |
- // TODO: document |
- class LookupScope { |
- public: |
- LookupScope(Cache* cache, Encoder* encoder) : fCache(cache), fEncoder(encoder) {} |
- ~LookupScope() { for (ID id : fToUndefine) { fEncoder->undefine(id); } } |
- void undefineWhenDone(ID id) { fToUndefine.push_back(id); } |
- |
- template <typename T> |
- ID lookup(const T&); |
- private: |
- Cache* fCache; |
- Encoder* fEncoder; |
- SkSTArray<4, ID> fToUndefine; |
- }; |
+ class LookupScope; |
// TODO: document |
struct Cache { |