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

Unified Diff: ui/gfx/color_transform_fuzzer.cc

Issue 2229953003: Support for custom primaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 4 years, 4 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
« no previous file with comments | « ui/gfx/color_transform.cc ('k') | ui/gfx/color_transform_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_transform_fuzzer.cc
diff --git a/ui/gfx/color_transform_fuzzer.cc b/ui/gfx/color_transform_fuzzer.cc
index 9732f8e3b2f40e55a6a44bc6e1c225683093ca28..bc22614900917b650bd59671d9e6badd7e0d697f 100644
--- a/ui/gfx/color_transform_fuzzer.cc
+++ b/ui/gfx/color_transform_fuzzer.cc
@@ -16,7 +16,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
gfx::ICCProfile::FromData(reinterpret_cast<const char*>(data), size);
gfx::ColorSpace bt709 = gfx::ColorSpace::CreateREC709();
std::unique_ptr<gfx::ColorTransform> t(gfx::ColorTransform::NewColorTransform(
- bt709, icc.GetColorSpace(), gfx::ColorTransform::Intent::ABSOLUTE));
+ bt709, icc.GetColorSpace(),
+ gfx::ColorTransform::Intent::INTENT_ABSOLUTE));
gfx::ColorTransform::TriStim tmp(16.0f / 255.0f, 0.5f, 0.5f);
t->transform(&tmp, 1);
return 0;
« no previous file with comments | « ui/gfx/color_transform.cc ('k') | ui/gfx/color_transform_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698