| Index: cc/trees/layer_tree.h
|
| diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
|
| index 77d105c84d16bc81af816756b5673297f4be8db1..b95a8e488f34ac81cbffd5b64e1412a8a1b227d0 100644
|
| --- a/cc/trees/layer_tree.h
|
| +++ b/cc/trees/layer_tree.h
|
| @@ -19,6 +19,7 @@
|
| #include "cc/trees/mutator_host_client.h"
|
| #include "cc/trees/property_tree.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| +#include "ui/gfx/color_space.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| namespace base {
|
| @@ -116,6 +117,11 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
|
|
|
| void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
|
|
|
| + void SetDeviceColorSpace(const gfx::ColorSpace& device_color_space);
|
| + const gfx::ColorSpace& device_color_space() const {
|
| + return inputs_.device_color_space;
|
| + }
|
| +
|
| // Used externally by blink for setting the PropertyTrees when
|
| // |settings_.use_layer_lists| is true. This is a SPV2 setting.
|
| PropertyTrees* property_trees() { return &property_trees_; }
|
| @@ -241,6 +247,7 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
|
| float page_scale_factor;
|
| float min_page_scale_factor;
|
| float max_page_scale_factor;
|
| + gfx::ColorSpace device_color_space;
|
|
|
| SkColor background_color;
|
| bool has_transparent_background;
|
|
|