From fc57a3375eef897384a55fd85e95ba4394fbf67b Mon Sep 17 00:00:00 2001 From: mtklein Date: Mon, 8 Feb 2016 14:30:25 -0800 Subject: [PATCH] DM: this must have been missing from the previous CL It'd be neat to have an Android trybot. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1678293002 Review URL: https://codereview.chromium.org/1678293002 --- dm/DMSrcSinkAndroid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dm/DMSrcSinkAndroid.h b/dm/DMSrcSinkAndroid.h index 02eb1c9..2d7ad65 100644 --- a/dm/DMSrcSinkAndroid.h +++ b/dm/DMSrcSinkAndroid.h @@ -23,7 +23,7 @@ public: HWUISink() { } Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; - int enclave() const override { return kGPU_Enclave; } + bool serial() const override { return true; } const char* fileExtension() const override { return "png"; } SinkFlags flags() const override { return SinkFlags{ SinkFlags::kGPU, SinkFlags::kDirect }; } }; @@ -37,7 +37,7 @@ public: explicit ViaAndroidSDK(Sink*); Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; - int enclave() const override { return fSink->enclave(); } + bool serial() const override { return fSink->serial(); } const char* fileExtension() const override { return fSink->fileExtension(); } SinkFlags flags() const override { SinkFlags flags = fSink->flags(); -- 2.7.4