aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-03-08 10:39:02 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-08 19:44:43 +0000
commit90b200532730a25f1971e1bdeab67e86659d204a (patch)
tree08d3fb0c570aab372f241b922a9e0865be98f159 /include
parentdcd2a908f424f080170a7d415ea0280d186e5d7f (diff)
remove SkPictureUtils.h
BUG=skia: Change-Id: Iab6e71f347fa34baf442e38ba7773058695f3e6d Reviewed-on: https://skia-review.googlesource.com/9348 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/utils/SkPictureUtils.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/utils/SkPictureUtils.h b/include/utils/SkPictureUtils.h
deleted file mode 100644
index b65a64d579..0000000000
--- a/include/utils/SkPictureUtils.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkPictureUtils_DEFINED
-#define SkPictureUtils_DEFINED
-
-#include "SkPicture.h"
-
-// TODO: remove this file?
-
-class SK_API SkPictureUtils {
-public:
- /**
- * How many bytes are allocated to hold the SkPicture.
- * Includes operations, parameters, bounding data, deletion listeners;
- * includes nested SkPictures, but does not include large objects that
- * SkRecord holds a reference to (e.g. paths, or pixels backing bitmaps).
- */
- static size_t ApproximateBytesUsed(const SkPicture* pict) {
- return pict->approximateBytesUsed();
- }
-};
-
-#endif