Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 146ec02c0448a754cb88cd661b333437cc69a164..d055c0c21055deb4a18d9511b2ac3c5d76c35e11 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -2631,12 +2631,6 @@ void RenderWidgetHostImpl::SetNeedsBeginFrame(bool needs_begin_frame) { |
void RenderWidgetHostImpl::SubmitCompositorFrame( |
const cc::LocalSurfaceId& local_surface_id, |
cc::CompositorFrame frame) { |
- // The renderer should not send empty frames. |
- if (frame.render_pass_list.empty()) { |
- DLOG(ERROR) << "Renderer sent an empty frame."; |
- return; |
- } |
- |
// The renderer must allocate a new LocalSurfaceId if frame size or device |
// scale factor changes. |
float device_scale_factor = frame.metadata.device_scale_factor; |