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

Unified Diff: cc/playback/display_item_list.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/blink/web_display_item_list_impl.cc ('k') | cc/playback/raster_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_item_list.h
diff --git a/cc/playback/display_item_list.h b/cc/playback/display_item_list.h
index d2b194c3dd6830eeb4e20f0076be9145b1b98dcc..5e1ea3d6a1a727079976873c702632ecbe7ce4ff 100644
--- a/cc/playback/display_item_list.h
+++ b/cc/playback/display_item_list.h
@@ -126,17 +126,6 @@ class CC_EXPORT DisplayItemList
}
bool IsSuitableForGpuRasterization() const;
- void SetImpliedColorSpace(const gfx::ColorSpace& implied_color_space) {
- inputs_.implied_color_space_specified = true;
- inputs_.implied_color_space = implied_color_space;
- }
- bool HasImpliedColorSpace() const {
- return inputs_.implied_color_space_specified;
- }
- const gfx::ColorSpace& GetImpliedColorSpace() const {
- return inputs_.implied_color_space;
- }
-
int ApproximateOpCount() const;
size_t ApproximateMemoryUsage() const;
bool ShouldBeAnalyzedForSolidColor() const;
@@ -207,8 +196,6 @@ class CC_EXPORT DisplayItemList
std::vector<gfx::Rect> visual_rects;
std::vector<size_t> begin_item_indices;
bool all_items_are_suitable_for_gpu_rasterization = true;
- bool implied_color_space_specified = false;
- gfx::ColorSpace implied_color_space;
};
Inputs inputs_;
« no previous file with comments | « cc/blink/web_display_item_list_impl.cc ('k') | cc/playback/raster_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698