aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PDFDocumentTest.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-12-08 10:21:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-08 17:16:00 +0000
commitc465d13e6fca5e171bde45d35b2dd43117f4702e (patch)
tree588b2b31ffba95ed8eecb5327cb4335f35c8c1bd /tests/PDFDocumentTest.cpp
parent4bcef3c40ad8d3a16bbca4ab74fa15256fb4b125 (diff)
resources: orgainize directory.
Should make it easier to ask just for images. Change-Id: If821743dc924c4bfbc6b2b2d29b14affde7b3afd Reviewed-on: https://skia-review.googlesource.com/82684 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'tests/PDFDocumentTest.cpp')
-rw-r--r--tests/PDFDocumentTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFDocumentTest.cpp b/tests/PDFDocumentTest.cpp
index f01d0f97f3..9a79ec8c01 100644
--- a/tests/PDFDocumentTest.cpp
+++ b/tests/PDFDocumentTest.cpp
@@ -146,7 +146,7 @@ size_t count_bytes(const SkBitmap& bm, bool useDCT) {
DEF_TEST(SkPDF_document_dct_encoder, r) {
REQUIRE_PDF_DOCUMENT(SkPDF_document_dct_encoder, r);
SkBitmap bm;
- if (GetResourceAsBitmap("mandrill_64.png", &bm)) {
+ if (GetResourceAsBitmap("images/mandrill_64.png", &bm)) {
// Lossy encoding works better on photographs.
REPORTER_ASSERT(r, count_bytes(bm, true) < count_bytes(bm, false));
}