| Index: cc/resources/picture_layer_tiling.cc
|
| diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
|
| index f0b38db18a857bb8c3009da185df33bd43ec2e98..9ab2cf5f06b2941c5fb3003c6b154cdcf7fbb962 100644
|
| --- a/cc/resources/picture_layer_tiling.cc
|
| +++ b/cc/resources/picture_layer_tiling.cc
|
| @@ -859,8 +859,10 @@ void PictureLayerTiling::TilingRasterTileIterator::AdvancePhase() {
|
| ++spiral_iterator_;
|
| }
|
|
|
| - if (!spiral_iterator_ && type_ == TilePriority::EVENTUALLY)
|
| + if (!spiral_iterator_ && type_ == TilePriority::EVENTUALLY) {
|
| + current_tile_ = NULL;
|
| break;
|
| + }
|
| } while (!spiral_iterator_);
|
| }
|
|
|
| @@ -901,8 +903,10 @@ operator++() {
|
| break;
|
| case TilePriority::EVENTUALLY:
|
| ++spiral_iterator_;
|
| - if (!spiral_iterator_)
|
| + if (!spiral_iterator_) {
|
| + current_tile_ = NULL;
|
| return *this;
|
| + }
|
| next_index = spiral_iterator_.index();
|
| break;
|
| }
|
|
|