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

Unified Diff: tests/ImageTest.cpp

Issue 2203143002: GN: add tests to DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Headers use json -> public_deps 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 | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ImageTest.cpp
diff --git a/tests/ImageTest.cpp b/tests/ImageTest.cpp
index 72dc9432e39981df1fd394fd576a433cc0b75d6c..2bbff7d2bf3ae2bc20cd6136aac1d00287a74292 100644
--- a/tests/ImageTest.cpp
+++ b/tests/ImageTest.cpp
@@ -8,7 +8,6 @@
#include <functional>
#include <initializer_list>
#include <vector>
-#include "DMGpuSupport.h"
#include "SkAutoPixmapStorage.h"
#include "SkBitmap.h"
@@ -1001,11 +1000,11 @@ DEF_TEST(image_roundtrip_encode, reporter) {
auto img0 = SkImage::MakeFromBitmap(bm0);
sk_sp<SkData> data(img0->encode(SkImageEncoder::kPNG_Type, 100));
auto img1 = SkImage::MakeFromEncoded(data);
-
+
SkBitmap bm1;
bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType));
img1->readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0);
-
+
REPORTER_ASSERT(reporter, equal(bm0, bm1));
}
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698