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

Unified Diff: tests/ImageIsOpaqueTest.cpp

Issue 2068743003: Keep SkColorSpace and SkColorProfileType in sync (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix roll using SK_API Created 4 years, 6 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 | « include/core/SkImageInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ImageIsOpaqueTest.cpp
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp
index 52d3b97c52eec001819e354a742b0ab11d55ac50..51229bfce3b31a6d40775db96324e586ae5b2f62 100644
--- a/tests/ImageIsOpaqueTest.cpp
+++ b/tests/ImageIsOpaqueTest.cpp
@@ -31,7 +31,10 @@ static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info)
info2.unflatten(rb);
REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
- REPORTER_ASSERT(reporter, info == info2);
+
+ // FIXME (msarett):
+ // Support flatten/unflatten of SkColorSpace objects.
+ REPORTER_ASSERT(reporter, info.makeColorSpace(nullptr) == info2.makeColorSpace(nullptr));
}
DEF_TEST(ImageInfo_flattening, reporter) {
« no previous file with comments | « include/core/SkImageInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698