| Index: cc/test/fake_picture_pile_impl.cc
|
| diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc
|
| index ab255cc2eef60e24deb8e4690c71fe684ce5cf57..172a434b43c1750ed99560e3acadc8d3b51f904c 100644
|
| --- a/cc/test/fake_picture_pile_impl.cc
|
| +++ b/cc/test/fake_picture_pile_impl.cc
|
| @@ -114,9 +114,7 @@ void FakePicturePileImpl::PlaybackToCanvas(SkCanvas* canvas,
|
|
|
| bool FakePicturePileImpl::HasRecordingAt(int x, int y) const {
|
| PictureMap::const_iterator found = picture_map_.find(PictureMapKey(x, y));
|
| - if (found == picture_map_.end())
|
| - return false;
|
| - return !!found->second.GetPicture();
|
| + return found != picture_map_.end();
|
| }
|
|
|
| } // namespace cc
|
|
|