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

Unified Diff: include/core/SkStream.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 6 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 | « include/core/SkShader.h ('k') | include/core/SkSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkStream.h
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 4c9c461e6480c27da8fa76a3c7a37d4d309d9853..6767778343f5f45a73935fcca9e287e92dac4f1d 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -181,8 +181,6 @@ public:
class SK_API SkWStream : SkNoncopyable {
public:
- SK_DECLARE_INST_COUNT(SkWStream)
-
virtual ~SkWStream();
/** Called to write bytes to a SkWStream. Returns true on success
@@ -231,8 +229,6 @@ struct SkFILE;
/** A stream that wraps a C FILE* file stream. */
class SK_API SkFILEStream : public SkStreamAsset {
public:
- SK_DECLARE_INST_COUNT(SkFILEStream)
-
/** Initialize the stream by calling sk_fopen on the specified path.
* This internal stream will be closed in the destructor.
*/
@@ -286,8 +282,6 @@ private:
class SK_API SkMemoryStream : public SkStreamMemory {
public:
- SK_DECLARE_INST_COUNT(SkMemoryStream)
-
SkMemoryStream();
/** We allocate (and free) the memory. Write to it via getMemoryBase() */
@@ -358,8 +352,6 @@ private:
class SK_API SkFILEWStream : public SkWStream {
public:
- SK_DECLARE_INST_COUNT(SkFILEWStream)
-
SkFILEWStream(const char path[]);
virtual ~SkFILEWStream();
@@ -379,8 +371,6 @@ private:
class SkMemoryWStream : public SkWStream {
public:
- SK_DECLARE_INST_COUNT(SkMemoryWStream)
-
SkMemoryWStream(void* buffer, size_t size);
bool write(const void* buffer, size_t size) override;
size_t bytesWritten() const override { return fBytesWritten; }
@@ -395,8 +385,6 @@ private:
class SK_API SkDynamicMemoryWStream : public SkWStream {
public:
- SK_DECLARE_INST_COUNT(SkDynamicMemoryWStream)
-
SkDynamicMemoryWStream();
virtual ~SkDynamicMemoryWStream();
@@ -444,7 +432,6 @@ private:
class SK_API SkDebugWStream : public SkWStream {
public:
SkDebugWStream() : fBytesWritten(0) {}
- SK_DECLARE_INST_COUNT(SkDebugWStream)
// overrides
bool write(const void* buffer, size_t size) override;
« no previous file with comments | « include/core/SkShader.h ('k') | include/core/SkSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698