aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkPictureUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkPictureUtils.cpp')
-rw-r--r--src/utils/SkPictureUtils.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp
deleted file mode 100644
index a8a251c927..0000000000
--- a/src/utils/SkPictureUtils.cpp
+++ /dev/null
@@ -1,25 +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.
- */
-
-#include "SkBBoxHierarchy.h"
-#include "SkCanvas.h"
-#include "SkData.h"
-#include "SkPictureUtils.h"
-#include "SkRecord.h"
-#include "SkShader.h"
-
-size_t SkPictureUtils::ApproximateBytesUsed(const SkPicture* pict) {
- size_t byteCount = sizeof(*pict);
-
- byteCount += pict->fRecord->bytesUsed();
- if (pict->fBBH.get()) {
- byteCount += pict->fBBH->bytesUsed();
- }
- byteCount += pict->fApproxBytesUsedBySubPictures;
-
- return byteCount;
-}