Index: ui/gfx/color_space.h |
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h |
index aaca2de3ab38dec94a97f2a0b3575b6eb75d99f2..075b9d651193a88b6f01fe77fcae85d1d4848e0b 100644 |
--- a/ui/gfx/color_space.h |
+++ b/ui/gfx/color_space.h |
@@ -10,6 +10,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
+#include "base/pickle.h" |
#include "build/build_config.h" |
#include "third_party/skia/include/core/SkColorSpace.h" |
#include "ui/gfx/gfx_export.h" |
@@ -166,6 +167,9 @@ class GFX_EXPORT ColorSpace { |
// range, and unspecified spaces. |
sk_sp<SkColorSpace> ToSkColorSpace() const; |
+ bool Serialize(base::Pickle* pickle) const; |
+ bool ReadFromPickle(base::PickleIterator* iter); |
+ |
// Populate |icc_profile| with an ICC profile that represents this color |
// space. Returns false if this space is not representable. |
bool GetICCProfile(ICCProfile* icc_profile) const; |