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

Unified Diff: chrome/renderer/media/gles2_video_decode_context.cc

Issue 3335014: Added FakeGlVideoDecodeEngine to exercise the IPC protocol for hardware video decoding (Closed)
Patch Set: compile man... Created 10 years, 3 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: chrome/renderer/media/gles2_video_decode_context.cc
diff --git a/chrome/renderer/media/gles2_video_decode_context.cc b/chrome/renderer/media/gles2_video_decode_context.cc
index d54334b5ca28a5083817cf169a60e550c8761958..075f80a579c4e1ef3d39cdfbc5d3ee41b3b9e931 100644
--- a/chrome/renderer/media/gles2_video_decode_context.cc
+++ b/chrome/renderer/media/gles2_video_decode_context.cc
@@ -5,8 +5,8 @@
#include "chrome/renderer/media/gles2_video_decode_context.h"
Gles2VideoDecodeContext::Gles2VideoDecodeContext(
- StorageType type, WebKit::WebGLES2Context* context)
- : type_(type), context_(context) {
+ StorageType type, ggl::Context* context)
+ : message_loop_(MessageLoop::current()), type_(type), context_(context) {
}
Gles2VideoDecodeContext::~Gles2VideoDecodeContext() {
@@ -15,7 +15,7 @@ Gles2VideoDecodeContext::~Gles2VideoDecodeContext() {
void* Gles2VideoDecodeContext::GetDevice() {
// This decode context is used inside the renderer and so hardware decoder
- // device handler should be used.
+ // device handler should not be used.
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698