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

Unified Diff: chrome/browser/renderer_host/video_layer_x.h

Issue 2786012: Merge 49131 - Add rgb_frame size tracking and resizing to fix security issue ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/375/src/
Patch Set: Created 10 years, 6 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 | « chrome/browser/renderer_host/backing_store_x.cc ('k') | chrome/browser/renderer_host/video_layer_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/video_layer_x.h
===================================================================
--- chrome/browser/renderer_host/video_layer_x.h (revision 49558)
+++ chrome/browser/renderer_host/video_layer_x.h (working copy)
@@ -42,6 +42,8 @@
// Most recently converted frame stored as 32-bit ARGB.
scoped_array<uint8> rgb_frame_;
+ size_t rgb_frame_size_;
+
// Destination size and absolution position of the converted frame.
gfx::Rect rgb_rect_;
« no previous file with comments | « chrome/browser/renderer_host/backing_store_x.cc ('k') | chrome/browser/renderer_host/video_layer_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698