| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 9932a33be03d59d47c6ea65ad437c8a46b4e76a6..f4ce82d495b4c596a40c9e0ef248faf8b10375f5 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1115,7 +1115,7 @@ static bool PointIsClippedBySurfaceOrClipRect(
|
| // the transform we have to provide is the target surface's
|
| // screen_space_transform.
|
| LayerImpl* render_target = current_layer->render_target();
|
| - if (LayerClipsSubtree(current_layer) &&
|
| + if (render_target && LayerClipsSubtree(current_layer) &&
|
| !PointHitsRect(
|
| screen_space_point,
|
| render_target->render_surface()->screen_space_transform(),
|
|
|