Index: cc/layer_tree_host_impl.cc |
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
index 3c22180ecf923f86ccf6aed16f3c80d8c8f60075..9d42698bae2a192a8e6884cd6011c818bd8040d1 100644 |
--- a/cc/layer_tree_host_impl.cc |
+++ b/cc/layer_tree_host_impl.cc |
@@ -376,6 +376,8 @@ void LayerTreeHostImpl::scheduleAnimation() |
bool LayerTreeHostImpl::haveTouchEventHandlersAt(const gfx::Point& viewportPoint) |
{ |
+ if (!ensureRenderSurfaceLayerList()) |
+ return false; |
gfx::PointF deviceViewportPoint = gfx::ScalePoint(viewportPoint, m_deviceScaleFactor); |