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

Unified Diff: third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp

Issue 2426723005: Use SkColorSpaceXform to handle color conversions in decoders (Closed)
Patch Set: Response to comments Created 4 years, 2 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: third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp b/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
index 763efe5517dc8083d46c68cf1981f17fcf5d26ab..0c3cd7697d2593c9524556c0825a283fd5f502e6 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
@@ -6,7 +6,7 @@
#include "wtf/Assertions.h"
-#if USE(QCMSLIB)
+#if USE(SKCOLORXFORM)
struct bt709ColorProfile {
static char* data() // BT.709 HDTV ITU
@@ -94,11 +94,11 @@ struct bt601ColorProfile {
static size_t size() { return 380u; }
};
-#endif // USE(QCMSLIB)
+#endif // USE(SKCOLORXFORM)
namespace blink {
-#if USE(QCMSLIB)
+#if USE(SKCOLORXFORM)
void bt709ColorProfileData(Vector<char>& data) {
ASSERT(WTF::isMainThread() && data.isEmpty());
@@ -122,6 +122,6 @@ void bt601ColorProfileData(Vector<char>&) {
ASSERT_NOT_REACHED();
}
-#endif // USE(QCMSLIB)
+#endif // USE(SKCOLORXFORM)
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698