Index: cc/quads/render_pass.cc |
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc |
index cdf3b94c3c5635ec40cb6809e0c7914fd8a938c4..9491fc06254b7d49237b4a82d8ac20e78b5c132d 100644 |
--- a/cc/quads/render_pass.cc |
+++ b/cc/quads/render_pass.cc |
@@ -35,14 +35,16 @@ scoped_ptr<RenderPass> RenderPass::Create(size_t num_layers) { |
RenderPass::RenderPass() |
: id(Id(-1, -1)), |
- has_transparent_background(true) { |
+ has_transparent_background(true), |
+ overlay_state(NO_OVERLAY) { |
shared_quad_state_list.reserve(kDefaultNumSharedQuadStatesToReserve); |
quad_list.reserve(kDefaultNumQuadsToReserve); |
} |
RenderPass::RenderPass(size_t num_layers) |
: id(Id(-1, -1)), |
- has_transparent_background(true) { |
+ has_transparent_background(true), |
+ overlay_state(NO_OVERLAY) { |
// Each layer usually produces one shared quad state, so the number of layers |
// is a good hint for what to reserve here. |
shared_quad_state_list.reserve(num_layers); |