| Index: cc/layers/layer_iterator.h
|
| diff --git a/cc/layers/layer_iterator.h b/cc/layers/layer_iterator.h
|
| index dc89e113ad33f5bedd1ae0aa8a6c4817a1fe8357..4257c28b5058b16f8c475834376d72b00ceae2e9 100644
|
| --- a/cc/layers/layer_iterator.h
|
| +++ b/cc/layers/layer_iterator.h
|
| @@ -250,8 +250,8 @@ class LayerIterator {
|
| }
|
|
|
| inline bool current_layer_represents_contributing_render_surface() const {
|
| - return current_layer()->render_surface() &&
|
| - current_layer()->render_surface() != target_render_surface();
|
| + RenderSurfaceImpl* render_surface = current_layer()->render_surface();
|
| + return render_surface && render_surface != target_render_surface();
|
| }
|
| inline bool current_layer_represents_target_render_surface() const {
|
| return current_layer_index_ ==
|
|
|