Index: cc/quads/render_pass.cc |
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc |
index 6ce19bf14164788365330dbadf1882c74073e17b..e613544db44fec86e846f52ff9f4eba1410e5570 100644 |
--- a/cc/quads/render_pass.cc |
+++ b/cc/quads/render_pass.cc |
@@ -27,6 +27,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 { |
@@ -254,6 +255,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: |