aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-01-26 13:58:24 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-26 19:52:20 +0000
commit333848272c4d023199e44ff38f2e6fc6876388e8 (patch)
tree399fd71be826ba4c0a276909fe0e539dd765f435 /tests
parent8f11d4dcafef4447fa68ea0ab28a72589241e9fd (diff)
remove SkColorSpace_Base
The type SkColorSpace_Base doesn't need to exist. Its one type() query can be answered instead by toXYZD50(). Now all that's left in the file is SkGammas, so rename it to SkGammas.h. Change-Id: Id60ddbfb342accfd5674ae89b37a24a6583ef7b8 Reviewed-on: https://skia-review.googlesource.com/99702 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ColorSpaceTest.cpp1
-rw-r--r--tests/ColorSpaceXformTest.cpp1
-rw-r--r--tests/ImageIsOpaqueTest.cpp1
-rw-r--r--tests/ReadPixelsTest.cpp1
-rw-r--r--tests/SurfaceTest.cpp1
-rw-r--r--tests/TestConfigParsing.cpp2
6 files changed, 1 insertions, 6 deletions
diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp
index ff784baf0a..e53ffd1cdc 100644
--- a/tests/ColorSpaceTest.cpp
+++ b/tests/ColorSpaceTest.cpp
@@ -8,7 +8,6 @@
#include "Resources.h"
#include "SkCodec.h"
#include "SkColorSpace.h"
-#include "SkColorSpace_Base.h"
#include "SkColorSpace_XYZ.h"
#include "SkColorSpacePriv.h"
#include "Test.h"
diff --git a/tests/ColorSpaceXformTest.cpp b/tests/ColorSpaceXformTest.cpp
index db4ac44dc7..0efd9939c3 100644
--- a/tests/ColorSpaceXformTest.cpp
+++ b/tests/ColorSpaceXformTest.cpp
@@ -11,7 +11,6 @@
#include "SkColorPriv.h"
#include "SkColorSpace.h"
#include "SkColorSpace_A2B.h"
-#include "SkColorSpace_Base.h"
#include "SkColorSpace_XYZ.h"
#include "SkColorSpaceXform_Base.h"
#include "Test.h"
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp
index 3850b4f112..607353c8da 100644
--- a/tests/ImageIsOpaqueTest.cpp
+++ b/tests/ImageIsOpaqueTest.cpp
@@ -13,7 +13,6 @@
#include "GrContext.h"
#endif
#include "SkCanvas.h"
-#include "SkColorSpace_Base.h"
#include "SkImage.h"
#include "SkSurface.h"
#include "SkReadBuffer.h"
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp
index 47b4cd8ac2..cae5e2e803 100644
--- a/tests/ReadPixelsTest.cpp
+++ b/tests/ReadPixelsTest.cpp
@@ -7,7 +7,6 @@
#include "SkCanvas.h"
#include "SkColorData.h"
-#include "SkColorSpace_Base.h"
#include "SkHalf.h"
#include "SkImageInfoPriv.h"
#include "SkMathPriv.h"
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp
index c06ba240ed..9827bcf913 100644
--- a/tests/SurfaceTest.cpp
+++ b/tests/SurfaceTest.cpp
@@ -7,7 +7,6 @@
#include <functional>
#include "SkCanvas.h"
-#include "SkColorSpace_Base.h"
#include "SkData.h"
#include "SkDevice.h"
#include "SkImage_Base.h"
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp
index 747ad10194..aa95ff7687 100644
--- a/tests/TestConfigParsing.cpp
+++ b/tests/TestConfigParsing.cpp
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
+#include "SkColorSpace.h"
#include "SkCommonFlagsConfig.h"
-#include "SkColorSpace_Base.h"
#include "Test.h"
#include <initializer_list>