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

Unified Diff: content/common/gpu/media/dxva_video_decode_accelerator.h

Issue 9958034: Convert plugin and GPU process to brokered handle duplication. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/dxva_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/dxva_video_decode_accelerator.h
===================================================================
--- content/common/gpu/media/dxva_video_decode_accelerator.h (revision 132263)
+++ content/common/gpu/media/dxva_video_decode_accelerator.h (working copy)
@@ -39,9 +39,8 @@
};
// Does not take ownership of |client| which must outlive |*this|.
- DXVAVideoDecodeAccelerator(
- media::VideoDecodeAccelerator::Client* client,
- base::ProcessHandle renderer_process);
+ explicit DXVAVideoDecodeAccelerator(
+ media::VideoDecodeAccelerator::Client* client);
virtual ~DXVAVideoDecodeAccelerator();
// media::VideoDecodeAccelerator implementation.
@@ -187,9 +186,6 @@
// Contains the id of the last input buffer received from the client.
int32 last_input_buffer_id_;
- // Handle to the renderer process.
- base::ProcessHandle renderer_process_;
-
// Ideally the reset token would be a stack variable which is used while
// creating the device manager. However it seems that the device manager
// holds onto the token and attempts to access it if the underlying device
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/dxva_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698