Index: cc/output/direct_renderer.cc |
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc |
index a6de95ed7960aca8add9b4abe99ddf3098025fed..ab2689fb01121318058891166f99dbf7b2898f58 100644 |
--- a/cc/output/direct_renderer.cc |
+++ b/cc/output/direct_renderer.cc |
@@ -201,6 +201,7 @@ void DirectRenderer::DrawFrame(RenderPassList* render_passes_in_draw_order, |
const gfx::ColorSpace& device_color_space, |
const gfx::Rect& device_viewport_rect, |
const gfx::Rect& device_clip_rect) { |
+ DCHECK(visible()); |
TRACE_EVENT0("cc", "DirectRenderer::DrawFrame"); |
UMA_HISTOGRAM_COUNTS( |
"Renderer4.renderPassCount", |