Index: content/common/gpu/media/mac_video_decode_accelerator.mm |
diff --git a/content/common/gpu/media/mac_video_decode_accelerator.mm b/content/common/gpu/media/mac_video_decode_accelerator.mm |
index 7aa9c6c66d69a07b860cf79ad0ea3fd43e238bdb..2f2ce98439c3bde6fbeeee6789a28d8a55508d6a 100644 |
--- a/content/common/gpu/media/mac_video_decode_accelerator.mm |
+++ b/content/common/gpu/media/mac_video_decode_accelerator.mm |
@@ -93,13 +93,13 @@ static bool BindImageToTexture(CGLContextObj context, |
} |
MacVideoDecodeAccelerator::MacVideoDecodeAccelerator( |
- media::VideoDecodeAccelerator::Client* client) |
+ CGLContextObj cgl_context, media::VideoDecodeAccelerator::Client* client) |
: client_(client), |
- cgl_context_(NULL), |
+ cgl_context_(cgl_context), |
did_build_config_record_(false) { |
} |
-void MacVideoDecodeAccelerator::SetCGLContext(CGLContextObj cgl_context) { |
+void MacVideoDecodeAccelerator::SetCGLContext() { |
Pawel Osciak
2012/07/27 20:08:15
Not needed anymore...
Ami GONE FROM CHROMIUM
2012/07/27 20:22:39
Done.
(the joys of editing code without the benefi
|
DCHECK(CalledOnValidThread()); |
cgl_context_ = cgl_context; |
} |