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

Unified Diff: skia/picture/SkPathHeap.h

Issue 113827: Remove the remainder of the skia source code from the Chromium repo.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « skia/images/fpdfemb_ext.h ('k') | skia/picture/SkPathHeap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/picture/SkPathHeap.h
===================================================================
--- skia/picture/SkPathHeap.h (revision 16859)
+++ skia/picture/SkPathHeap.h (working copy)
@@ -1,37 +0,0 @@
-#ifndef SkPathHeap_DEFINED
-#define SkPathHeap_DEFINED
-
-#include "SkRefCnt.h"
-#include "SkChunkAlloc.h"
-#include "SkTDArray.h"
-
-class SkPath;
-class SkFlattenableReadBuffer;
-class SkFlattenableWriteBuffer;
-
-class SkPathHeap : public SkRefCnt {
-public:
- SkPathHeap();
- SkPathHeap(SkFlattenableReadBuffer&);
- virtual ~SkPathHeap();
-
- // called during picture-record
- int append(const SkPath&);
-
- // called during picture-playback
- int count() const { return fPaths.count(); }
- const SkPath& operator[](int index) const {
- return *fPaths[index];
- }
-
- void flatten(SkFlattenableWriteBuffer&) const;
-
-private:
- // we store the paths in the heap (placement new)
- SkChunkAlloc fHeap;
- // we just store ptrs into fHeap here
- SkTDArray<SkPath*> fPaths;
-};
-
-#endif
-
« no previous file with comments | « skia/images/fpdfemb_ext.h ('k') | skia/picture/SkPathHeap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698