aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-06-26 11:45:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-26 11:45:03 -0700
commit2766c00fc0b6a07d46e5f74cdad45da2ef625237 (patch)
tree152a6169021ef393f5719d511becf9f81fec8c02 /experimental
parent46043ee50fe0532df6213172506fd16324b21e58 (diff)
remove SkInstCnt
It's been outclassed by Valgrind and leak sanitizer, and it seems to be causing problems for external folks building Skia. I'm not sure why our own builds seem unaffected. Latest thread: https://groups.google.com/forum/#!topic/skia-discuss/oj9FsQwwSF0 BUG=skia: Review URL: https://codereview.chromium.org/1217573002
Diffstat (limited to 'experimental')
-rw-r--r--experimental/PdfViewer/SkNulCanvas.h4
-rw-r--r--experimental/PdfViewer/SkTrackDevice.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h
index 9fbd506d41..420a673e24 100644
--- a/experimental/PdfViewer/SkNulCanvas.h
+++ b/experimental/PdfViewer/SkNulCanvas.h
@@ -18,8 +18,6 @@
*/
class SK_API SkNulCanvas : public SkCanvas {
public:
- SK_DECLARE_INST_COUNT(SkNulCanvas);
-
SkNulCanvas() {}
explicit SkNulCanvas(SkBaseDevice* device) : SkCanvas(device) {}
@@ -98,7 +96,7 @@ protected:
const uint16_t indices[], int indexCount,
const SkPaint& paint) override {}
-
+
private:
typedef SkCanvas INHERITED;
};
diff --git a/experimental/PdfViewer/SkTrackDevice.h b/experimental/PdfViewer/SkTrackDevice.h
index e3e78e3097..853b3f9cf1 100644
--- a/experimental/PdfViewer/SkTrackDevice.h
+++ b/experimental/PdfViewer/SkTrackDevice.h
@@ -25,8 +25,6 @@
// TODO: can this be derived from SkBaseDevice instead?
class SkTrackDevice : public SkBitmapDevice {
public:
- SK_DECLARE_INST_COUNT(SkTrackDevice)
-
SkTrackDevice(const SkBitmap& bitmap)
: INHERITED(bitmap, SkSurfaceProps(0, kUnknown_SkPixelGeometry))
, fTracker(NULL) {