Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: cc/resources/picture_pile_impl.cc

Issue 909353002: Move PixelRefMap and its Iterator out from Picture class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/resources/picture_pile_impl.cc
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
index d629888b871e855fb6a98fa4ad7e7a5fb13b586f..787313863f51be00bae602e8e462942fa5e210cd 100644
--- a/cc/resources/picture_pile_impl.cc
+++ b/cc/resources/picture_pile_impl.cc
@@ -427,7 +427,7 @@ void PicturePileImpl::PixelRefIterator::AdvanceToTilePictureWithPixelRefs() {
continue;
processed_pictures_.insert(picture);
- pixel_ref_iterator_ = Picture::PixelRefIterator(layer_rect_, picture);
+ pixel_ref_iterator_ = picture->GetPixelRefMapIterator(layer_rect_);
if (pixel_ref_iterator_)
break;
}

Powered by Google App Engine
This is Rietveld 408576698