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

Unified Diff: cc/playback/raster_source.h

Issue 2702633002: color: Remove implied color space (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « cc/playback/display_item_list.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.h
diff --git a/cc/playback/raster_source.h b/cc/playback/raster_source.h
index aae19ead689106e5ec0a6260c4c7e75bdf1fd153..522557cbb8daa2b77975177f965a412eafa0d0ee 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -18,10 +18,6 @@
#include "skia/ext/analysis_canvas.h"
#include "third_party/skia/include/core/SkPicture.h"
-namespace gfx {
-class ColorSpace;
-}
-
namespace cc {
class DisplayItemList;
class DrawImage;
@@ -92,14 +88,6 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// Returns the size of this raster source.
gfx::Size GetSize() const;
- // Returns whether or not there was a color space implied by the raster source
- // when it was created. If this returns true then no color correction is
- // to be applied at rasterization time, and the result of rasterization is to
- // be interpreted as being in this color space. If this returns falce, then
- // then a destination color space must be specified at raster time.
- bool HasImpliedColorSpace() const;
- const gfx::ColorSpace& GetImpliedColorSpace() const;
-
// Populate the given list with all images that may overlap the given
// rect in layer space. The returned draw images' matrices are modified as if
// they were being using during raster at scale |raster_scale|.
« no previous file with comments | « cc/playback/display_item_list.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698