Index: chrome/browser/media/tab_desktop_media_list.cc |
diff --git a/chrome/browser/media/tab_desktop_media_list.cc b/chrome/browser/media/tab_desktop_media_list.cc |
index 0911d54133b14440dde8b61682a80b37e8858a51..dbf16065fe58e27986fb7ab816c4ee9b9522e4af 100644 |
--- a/chrome/browser/media/tab_desktop_media_list.cc |
+++ b/chrome/browser/media/tab_desktop_media_list.cc |
@@ -25,18 +25,6 @@ using content::DesktopMediaID; |
namespace { |
-// Returns a hash of a favicon to detect when the favicon of media source has |
-// changed. |
-uint32_t GetImageHash(const gfx::Image& favicon) { |
- SkBitmap bitmap = favicon.AsBitmap(); |
- bitmap.lockPixels(); |
- uint32_t value = |
- base::Hash(reinterpret_cast<char*>(bitmap.getPixels()), bitmap.getSize()); |
- bitmap.unlockPixels(); |
- |
- return value; |
-} |
- |
gfx::ImageSkia CreateEnlargedFaviconImage(gfx::Size size, |
const gfx::ImageSkia& favicon) { |
DCHECK_GE(size.width(), 20); |