Index: content/common/cc_messages.cc |
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc |
index fef8ebcd4603893f7c79c89086fec777df23afe2..2c6370efc731ea6e45292ebb193ba9a43acdc668 100644 |
--- a/content/common/cc_messages.cc |
+++ b/content/common/cc_messages.cc |
@@ -285,6 +285,7 @@ void ParamTraits<gfx::Transform>::Log( |
void ParamTraits<cc::RenderPass>::Write( |
Message* m, const param_type& p) { |
+ DCHECK(p.overlay_state == cc::RenderPass::NO_OVERLAY); |
WriteParam(m, p.id); |
WriteParam(m, p.output_rect); |
WriteParam(m, p.damage_rect); |
@@ -421,7 +422,8 @@ bool ParamTraits<cc::RenderPass>::Read( |
output_rect, |
damage_rect, |
transform_to_root_target, |
- has_transparent_background); |
+ has_transparent_background, |
+ cc::RenderPass::NO_OVERLAY); |
size_t last_shared_quad_state_index = kuint32max; |
for (size_t i = 0; i < quad_list_size; ++i) { |