Index: cc/quads/render_pass.cc |
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc |
index 021352866802d152b287e7c0868b533625e6c989..59acb511fba566ff469bdda1606d3152671c3571 100644 |
--- a/cc/quads/render_pass.cc |
+++ b/cc/quads/render_pass.cc |
@@ -26,6 +26,7 @@ |
#include "cc/quads/surface_draw_quad.h" |
#include "cc/quads/texture_draw_quad.h" |
#include "cc/quads/tile_draw_quad.h" |
+#include "cc/quads/y_video_draw_quad.h" |
#include "cc/quads/yuv_video_draw_quad.h" |
namespace { |
@@ -253,6 +254,9 @@ DrawQuad* RenderPass::CopyFromAndAppendDrawQuad( |
case DrawQuad::YUV_VIDEO_CONTENT: |
CopyFromAndAppendTypedDrawQuad<YUVVideoDrawQuad>(quad); |
break; |
+ case DrawQuad::Y_VIDEO_CONTENT: |
+ CopyFromAndAppendTypedDrawQuad<YVideoDrawQuad>(quad); |
+ break; |
// RenderPass quads need to use specific CopyFrom function. |
case DrawQuad::RENDER_PASS: |
case DrawQuad::INVALID: |