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

Unified Diff: src/utils/SkBitmapHasher.h

Issue 1704783002: Delete dead code. SkBitmapHasher has not been used since gm. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « gyp/utils.gypi ('k') | src/utils/SkBitmapHasher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkBitmapHasher.h
diff --git a/src/utils/SkBitmapHasher.h b/src/utils/SkBitmapHasher.h
deleted file mode 100644
index c8a5c0406f4b6410528d14746bb730a0a738a6ee..0000000000000000000000000000000000000000
--- a/src/utils/SkBitmapHasher.h
+++ /dev/null
@@ -1,35 +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 SkBitmapHasher_DEFINED
-#define SkBitmapHasher_DEFINED
-
-#include "SkBitmap.h"
-
-/**
- * Static class that generates a uint64 hash digest from an SkBitmap.
- */
-class SkBitmapHasher {
-public:
- /**
- * Fills in "result" with a hash of the pixels in this bitmap.
- *
- * If this is unable to compute the hash for some reason,
- * it returns false.
- *
- * Note: depending on the bitmap colortype, we may need to create an
- * intermediate SkBitmap and copy the pixels over to it... so in some
- * cases, performance and memory usage can suffer.
- */
- static bool ComputeDigest(const SkBitmap& bitmap, uint64_t *result);
-
-private:
- static bool ComputeDigestInternal(const SkBitmap& bitmap, uint64_t *result);
-};
-
-#endif
« no previous file with comments | « gyp/utils.gypi ('k') | src/utils/SkBitmapHasher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698