aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-05-11 17:39:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-11 22:08:22 +0000
commite6c210ae01137b283ba7c55b3b197771f425eb74 (patch)
treed826697fdecb126af742a2ad5fe695bef9222977
parentabde50dacdc3f2f43b008edb6838e5796d461360 (diff)
Fix Ubuntu-Clang-x86_64-Release-Mini
Bug: skia: Change-Id: Iab3dbb007ae67b5d82a727cb1fd5ced6b10b325a Reviewed-on: https://skia-review.googlesource.com/16605 Reviewed-by: Matt Sarett <msarett@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Matt Sarett <msarett@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
-rw-r--r--src/images/SkImageEncoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/images/SkImageEncoder.cpp b/src/images/SkImageEncoder.cpp
index b2360d05d7..30493cfe39 100644
--- a/src/images/SkImageEncoder.cpp
+++ b/src/images/SkImageEncoder.cpp
@@ -12,14 +12,14 @@
#ifndef SK_HAS_JPEG_LIBRARY
bool SkJpegEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; }
-std::unique_ptr<SkJpegEncoder> SkJpegEncoder::Make(SkWStream*, const SkPixmap&, const Options&) {
+std::unique_ptr<SkEncoder> SkJpegEncoder::Make(SkWStream*, const SkPixmap&, const Options&) {
return nullptr;
}
#endif
#ifndef SK_HAS_PNG_LIBRARY
bool SkPngEncoder::Encode(SkWStream*, const SkPixmap&, const Options&) { return false; }
-std::unique_ptr<SkPngEncoder> SkPngEncoder::Make(SkWStream*, const SkPixmap&, const Options&) {
+std::unique_ptr<SkEncoder> SkPngEncoder::Make(SkWStream*, const SkPixmap&, const Options&) {
return nullptr;
}
#endif