Index: content/common/cc_messages.cc |
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc |
index 4313e1a1175ad8c69ae2bb95d18f0803ea17706b..b7ea68754cd87433c375baf8166372326c242964 100644 |
--- a/content/common/cc_messages.cc |
+++ b/content/common/cc_messages.cc |
@@ -333,6 +333,9 @@ void ParamTraits<cc::RenderPass>::Write( |
case cc::DrawQuad::YUV_VIDEO_CONTENT: |
WriteParam(m, *cc::YUVVideoDrawQuad::MaterialCast(quad)); |
break; |
+ case cc::DrawQuad::YUVA_VIDEO_CONTENT: |
+ WriteParam(m, *cc::YUVAVideoDrawQuad::MaterialCast(quad)); |
+ break; |
case cc::DrawQuad::INVALID: |
break; |
} |
@@ -447,6 +450,9 @@ bool ParamTraits<cc::RenderPass>::Read( |
case cc::DrawQuad::YUV_VIDEO_CONTENT: |
draw_quad = ReadDrawQuad<cc::YUVVideoDrawQuad>(m, iter); |
break; |
+ case cc::DrawQuad::YUVA_VIDEO_CONTENT: |
+ draw_quad = ReadDrawQuad<cc::YUVAVideoDrawQuad>(m, iter); |
+ break; |
case cc::DrawQuad::INVALID: |
break; |
} |
@@ -526,6 +532,9 @@ void ParamTraits<cc::RenderPass>::Log( |
case cc::DrawQuad::YUV_VIDEO_CONTENT: |
LogParam(*cc::YUVVideoDrawQuad::MaterialCast(quad), l); |
break; |
+ case cc::DrawQuad::YUVA_VIDEO_CONTENT: |
+ LogParam(*cc::YUVAVideoDrawQuad::MaterialCast(quad), l); |
+ break; |
case cc::DrawQuad::INVALID: |
break; |
} |