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

Unified Diff: ui/gfx/color_transform_unittest.cc

Issue 2216383003: Disable SimpleColorSpace.BT709toSRGBICC under MSan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_transform_unittest.cc
diff --git a/ui/gfx/color_transform_unittest.cc b/ui/gfx/color_transform_unittest.cc
index d943c7de7c6bfdb0a21bc363a7e6445384af4b19..32030592900b8bc35592942d5e9f13b90a23ed4f 100644
--- a/ui/gfx/color_transform_unittest.cc
+++ b/ui/gfx/color_transform_unittest.cc
@@ -336,7 +336,13 @@ unsigned char srgb_icc_data[] = {
0x00, 0x00, 0x07, 0x94, 0x00, 0x00, 0xfd, 0x8f, 0xff, 0xff, 0xfb, 0xa1,
0xff, 0xff, 0xfd, 0xa2, 0x00, 0x00, 0x03, 0xdb, 0x00, 0x00, 0xc0, 0x75};
-TEST(SimpleColorSpace, BT709toSRGBICC) {
+// MSan detects an uninitialized read in QCMS. https://crbug.com/635042
+#if defined(MEMORY_SANITIZER)
+#define MAYBE_BT709toSRGBICC DISABLED_BT709toSRGBICC
+#else
+#define MAYBE_BT709toSRGBICC BT709toSRGBICC
+#endif
+TEST(SimpleColorSpace, MAYBE_BT709toSRGBICC) {
ICCProfile srgb_icc = ICCProfile::FromData(
reinterpret_cast<char*>(srgb_icc_data), arraysize(srgb_icc_data));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698