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

Unified Diff: include/core/SkRWBuffer.h

Issue 1838463003: Move SkRWBuffer.h to include/ and add SK_API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/core/SkRWBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRWBuffer.h
diff --git a/src/core/SkRWBuffer.h b/include/core/SkRWBuffer.h
similarity index 97%
rename from src/core/SkRWBuffer.h
rename to include/core/SkRWBuffer.h
index 9d88a60203f6842c5ec213acd1640abe4f7d1a0b..452e182d940f1b544151aae8dbc914b321a2f579 100644
--- a/src/core/SkRWBuffer.h
+++ b/include/core/SkRWBuffer.h
@@ -19,7 +19,7 @@ class SkStreamAsset;
* Contains a read-only, thread-sharable block of memory. To access the memory, the caller must
* instantiate a local iterator, as the memory is stored in 1 or more contiguous blocks.
*/
-class SkROBuffer : public SkRefCnt {
+class SK_API SkROBuffer : public SkRefCnt {
public:
/**
* Return the logical length of the data owned/shared by this buffer. It may be stored in
@@ -70,7 +70,7 @@ private:
* The growth is done such that at any time, a RBuffer or StreamAsset can be snapped off, which
* can see the previously stored bytes, but which will be unaware of any future writes.
*/
-class SkRWBuffer {
+class SK_API SkRWBuffer {
public:
SkRWBuffer(size_t initialCapacity = 0);
~SkRWBuffer();
« no previous file with comments | « no previous file | src/core/SkRWBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698