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

Unified Diff: cc/picture_pile_impl.h

Issue 11421210: cc: Apply contents scales to impl-side painting rasterization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years 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/picture_layer_impl.cc ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile_impl.h
diff --git a/cc/picture_pile_impl.h b/cc/picture_pile_impl.h
index 807bcbf4c47a8deea9a8eddbda35bf6db67e57e5..93ac072ebe73094d60a7d9a351cbdbb9fed9447d 100644
--- a/cc/picture_pile_impl.h
+++ b/cc/picture_pile_impl.h
@@ -26,7 +26,11 @@ public:
// Raster a subrect of this PicturePileImpl into the given canvas.
// It's only safe to call paint on a cloned version.
// It is assumed that contentsScale has already been applied to this canvas.
- void Raster(SkCanvas* canvas, gfx::Rect rect, RenderingStats* stats);
+ void Raster(
+ SkCanvas* canvas,
+ gfx::Rect rect,
+ float contents_scale,
+ RenderingStats* stats);
private:
friend class PicturePile;
« no previous file with comments | « cc/picture_layer_impl.cc ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698