summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_view_x.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/gpu/gpu_view_x.cc')
-rw-r--r--chrome/gpu/gpu_view_x.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_view_x.cc b/chrome/gpu/gpu_view_x.cc
index 3f698f4..b4c0f10 100644
--- a/chrome/gpu/gpu_view_x.cc
+++ b/chrome/gpu/gpu_view_x.cc
@@ -87,6 +87,11 @@ void GpuViewX::Repaint() {
glEnd();
DCHECK(glGetError() == GL_NO_ERROR);
+ if (video_layer_.get()) {
+ video_layer_->Render(backing_store_->size());
+ DCHECK(glGetError() == GL_NO_ERROR);
+ }
+
// TODO(brettw) when we no longer stretch non-fitting bitmaps, we should
// paint white over any unpainted area here.