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

Unified Diff: cc/resources/picture_pile_impl.cc

Issue 14874004: cc: Inflate invalidation in each picture list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « cc/resources/picture_pile.cc ('k') | cc/resources/picture_pile_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile_impl.cc
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
index b9abcac0ff248a0a4ddafa8a1646e8aecd126eb1..8f366a5d910dfd8734cdc959b6108074decfc0e4 100644
--- a/cc/resources/picture_pile_impl.cc
+++ b/cc/resources/picture_pile_impl.cc
@@ -151,7 +151,9 @@ void PicturePileImpl::Raster(
// encompasses all invalidated pixels at any larger scale level.
gfx::Rect content_clip = gfx::ToEnclosedRect(
gfx::ScaleRect((*i)->LayerRect(), contents_scale));
- DCHECK(!content_clip.IsEmpty());
+ DCHECK(!content_clip.IsEmpty()) <<
+ "Layer rect: " << (*i)->LayerRect().ToString() <<
+ "Contents scale: " << contents_scale;
if (!unclipped.Intersects(content_clip))
continue;
« no previous file with comments | « cc/resources/picture_pile.cc ('k') | cc/resources/picture_pile_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698