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

Unified Diff: ui/gfx/color_space.h

Issue 2915673003: ui/gfx: Use separate components for color_space and switches (Closed)
Patch Set: Fix windows build Created 3 years, 7 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: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 35d34257f694c0cfb86aeb337fc450878db6f58a..387f9c18eed1dca073569f1ec134544aedf61271 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "build/build_config.h"
#include "third_party/skia/include/core/SkColorSpace.h"
-#include "ui/gfx/gfx_export.h"
+#include "ui/gfx/gfx_color_export.h"
namespace IPC {
template <class P>
@@ -26,7 +26,7 @@ class ICCProfile;
// Used to represet a color space for the purpose of color conversion.
// This is designed to be safe and compact enough to send over IPC
// between any processes.
-class GFX_EXPORT ColorSpace {
+class GFX_COLOR_EXPORT ColorSpace {
public:
enum class PrimaryID : uint8_t {
INVALID,
@@ -212,8 +212,8 @@ class GFX_EXPORT ColorSpace {
};
// Stream operator so ColorSpace can be used in assertion statements.
-GFX_EXPORT std::ostream& operator<<(std::ostream& out,
- const ColorSpace& color_space);
+GFX_COLOR_EXPORT std::ostream& operator<<(std::ostream& out,
+ const ColorSpace& color_space);
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698