commit | 71195ab5c8304c7577e5662dd97ea9c2d070a97d | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Feb 08 17:14:28 2018 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Thu Feb 08 22:09:59 2018 -0500 |
tree | 40fa45aa44e3f65238765392ded5e28a507f7d4e | |
parent | a5ffafbfda3b5f6dd7f883045b6b0da0556b934c [diff] [blame] |
Fix the Skia roll - implement onWritePixels Test: None https://skia-review.googlesource.com/c/skia/+/105623 added a new abstract method to SkSurface_Base, so these subclasses needs to implement it. Implementation is empty just to get the roll fixed. Change-Id: Ib6029acf40feb47a572cd6e18678b08a6f38fe4b
diff --git a/libs/hwui/tests/unit/RenderNodeDrawableTests.cpp b/libs/hwui/tests/unit/RenderNodeDrawableTests.cpp index 182e364..15c0ab1 100644 --- a/libs/hwui/tests/unit/RenderNodeDrawableTests.cpp +++ b/libs/hwui/tests/unit/RenderNodeDrawableTests.cpp
@@ -471,6 +471,7 @@ sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } void onCopyOnWrite(ContentChangeMode) override {} int* mDrawCounter; + void onWritePixels(const SkPixmap&, int x, int y) {} }; auto receiverBackground = TestUtils::createSkiaNode(