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

Unified Diff: cc/raster/raster_source.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Update unittests for RasterSource Created 3 years, 6 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/raster/raster_source.h
diff --git a/cc/raster/raster_source.h b/cc/raster/raster_source.h
index 92e429bd24fe37f8b560233e25569fdcaf369f15..077bd62a2e3fbe9978a6da2e934fdf5e4538d376 100644
--- a/cc/raster/raster_source.h
+++ b/cc/raster/raster_source.h
@@ -89,8 +89,8 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// Returns whether the given rect at given scale is of solid color in
// this raster source, as well as the solid color value.
oshima 2017/06/15 22:59:12 update the comment
malaykeshav 2017/06/16 20:41:57 Done
- bool PerformSolidColorAnalysis(const gfx::Rect& content_rect,
- float contents_scale,
+ bool PerformSolidColorAnalysis(gfx::Rect content_rect,
+ const gfx::AxisTransform2d& raster_transform,
SkColor* color) const;
// Returns true iff the whole raster source is of solid color.

Powered by Google App Engine
This is Rietveld 408576698