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

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

Issue 12537014: Make SharedMemory track the size that was actually mapped (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « content/browser/renderer_host/media/audio_sync_reader.cc ('k') | ui/surface/surface.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_buffer_pool.cc
===================================================================
--- content/browser/renderer_host/media/video_capture_buffer_pool.cc (revision 190994)
+++ content/browser/renderer_host/media/video_capture_buffer_pool.cc (working copy)
@@ -65,7 +65,7 @@
Buffer* buffer = buffers_[buffer_id];
- CHECK_GE(buffer->shared_memory.created_size(), GetMemorySize());
+ CHECK_GE(buffer->shared_memory.requested_size(), GetMemorySize());
// Complete the reservation.
buffer->held_by_producer = true;
« no previous file with comments | « content/browser/renderer_host/media/audio_sync_reader.cc ('k') | ui/surface/surface.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698