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

Unified Diff: src/core/SkPathHeap.h

Issue 134163010: Refactor read and write buffers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whoops, read buffers have .size() Created 6 years, 11 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 | « src/core/SkPathEffect.cpp ('k') | src/core/SkPathHeap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPathHeap.h
diff --git a/src/core/SkPathHeap.h b/src/core/SkPathHeap.h
index 095e84a2028860393b9d36c403f70f55f264a760..e3b0f7a84fc281f056010b04a5aba5f779c0bda8 100644
--- a/src/core/SkPathHeap.h
+++ b/src/core/SkPathHeap.h
@@ -13,15 +13,15 @@
#include "SkTDArray.h"
class SkPath;
-class SkFlattenableReadBuffer;
-class SkFlattenableWriteBuffer;
+class SkReadBuffer;
+class SkWriteBuffer;
class SkPathHeap : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(SkPathHeap)
SkPathHeap();
- SkPathHeap(SkFlattenableReadBuffer&);
+ SkPathHeap(SkReadBuffer&);
virtual ~SkPathHeap();
/** Copy the path into the heap, and return the new total number of paths.
@@ -36,7 +36,7 @@ public:
return *fPaths[index];
}
- void flatten(SkFlattenableWriteBuffer&) const;
+ void flatten(SkWriteBuffer&) const;
private:
// we store the paths in the heap (placement new)
« no previous file with comments | « src/core/SkPathEffect.cpp ('k') | src/core/SkPathHeap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698