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

Unified Diff: media/base/video_frame_pool.h

Issue 1227383003: Remove memset from VideoFrame and mark buffer as unpoisoned (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dalecurtis@ comments. Created 5 years, 5 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: media/base/video_frame_pool.h
diff --git a/media/base/video_frame_pool.h b/media/base/video_frame_pool.h
index 76b309196a4745aab96dd8ecdf11182a773531e9..9719bf9deb5c8facf0077703433e3173df5618d9 100644
--- a/media/base/video_frame_pool.h
+++ b/media/base/video_frame_pool.h
@@ -30,7 +30,8 @@ class MEDIA_EXPORT VideoFramePool {
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
- base::TimeDelta timestamp);
+ base::TimeDelta timestamp,
+ bool zero_init_new_allocations);
protected:
friend class VideoFramePoolTest;

Powered by Google App Engine
This is Rietveld 408576698