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

Unified Diff: content/browser/renderer_host/media/video_capture_buffer_pool.cc

Issue 1439533004: Remove dead code paths around PIXEL_STORAGE_TEXTURE in capture pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: content/browser/renderer_host/media/video_capture_buffer_pool.cc
diff --git a/content/browser/renderer_host/media/video_capture_buffer_pool.cc b/content/browser/renderer_host/media/video_capture_buffer_pool.cc
index b358021bfbec005a9ebb8d103a1703ed35604cc2..30ee8ecccdcae76f232e8bfdcf8d8810b73cdbee 100644
--- a/content/browser/renderer_host/media/video_capture_buffer_pool.cc
+++ b/content/browser/renderer_host/media/video_capture_buffer_pool.cc
@@ -261,8 +261,7 @@ scoped_ptr<VideoCaptureBufferPool::Tracker>
VideoCaptureBufferPool::Tracker::CreateTracker(
media::VideoPixelStorage storage) {
DCHECK(storage == media::PIXEL_STORAGE_GPUMEMORYBUFFER ||
- storage == media::PIXEL_STORAGE_CPU ||
- storage == media::PIXEL_STORAGE_TEXTURE);
+ storage == media::PIXEL_STORAGE_CPU);
mcasas 2015/11/13 19:13:57 Actually, these are all the cases now, remove this
miu 2015/11/14 03:43:47 Done. Replaced with switch statement to ensure co
if (storage == media::PIXEL_STORAGE_GPUMEMORYBUFFER)
return make_scoped_ptr(new GpuMemoryBufferTracker());

Powered by Google App Engine
This is Rietveld 408576698