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

Unified Diff: chrome/browser/media/tab_desktop_media_list.cc

Issue 1763753003: Capture chrome browser windows from internal rendering procedure for windows and linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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);
« no previous file with comments | « chrome/browser/media/native_desktop_media_list.cc ('k') | content/browser/renderer_host/media/media_stream_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698