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

Unified Diff: cc/resources/picture_pile_impl.cc

Issue 14690020: cc: Don't consider padding for analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « no previous file | no next file » | 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 8f2ef54e3f55738f12575ecc21c23e4f24309ab6..91248dc67b2a098908991d39e40c03cf4049484d 100644
--- a/cc/resources/picture_pile_impl.cc
+++ b/cc/resources/picture_pile_impl.cc
@@ -246,7 +246,7 @@ void PicturePileImpl::AnalyzeInRect(gfx::Rect content_rect,
DCHECK(analysis);
TRACE_EVENT0("cc", "PicturePileImpl::AnalyzeInRect");
- content_rect.Intersect(gfx::Rect(gfx::ToCeiledSize(
+ content_rect.Intersect(gfx::Rect(gfx::ToFlooredSize(
reveman 2013/05/13 15:48:45 Can we really round down here? I think we can avoi
gfx::ScaleSize(tiling_.total_size(), contents_scale))));
SkBitmap empty_bitmap;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698