Index: cc/quads/render_pass.cc |
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc |
index 34f24e31d5f62efd0cfa37d7281f30a0be00e0fb..0c21150f6a9f593f529ddd7bf85ffb2045ade310 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 { |
@@ -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: |