summaryrefslogtreecommitdiff
path: root/chromium/content/common/gpu/media/rendering_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/gpu/media/rendering_helper.h')
-rw-r--r--chromium/content/common/gpu/media/rendering_helper.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/content/common/gpu/media/rendering_helper.h b/chromium/content/common/gpu/media/rendering_helper.h
index 8a6c28bd3f7..250d382ac61 100644
--- a/chromium/content/common/gpu/media/rendering_helper.h
+++ b/chromium/content/common/gpu/media/rendering_helper.h
@@ -54,6 +54,7 @@ class VideoFrameTexture : public base::RefCounted<VideoFrameTexture> {
struct RenderingHelperParams {
RenderingHelperParams();
+ RenderingHelperParams(const RenderingHelperParams& other);
~RenderingHelperParams();
// The rendering FPS.
@@ -135,10 +136,7 @@ class RenderingHelper {
void* GetGLDisplay();
// Get the GL context.
- scoped_refptr<gfx::GLContext> GetGLContext();
-
- // Get the platform specific handle to the OpenGL context.
- void* GetGLContextHandle();
+ gfx::GLContext* GetGLContext();
// Get rendered thumbnails as RGB.
// Sets alpha_solid to true if the alpha channel is entirely 0xff.
@@ -165,6 +163,7 @@ class RenderingHelper {
std::queue<scoped_refptr<VideoFrameTexture> > pending_frames;
RenderedVideo();
+ RenderedVideo(const RenderedVideo& other);
~RenderedVideo();
};