fix tests for android framework build
Review URL: https://codereview.chromium.org/1263243003
This commit is contained in:
parent
d45fb5a3a5
commit
d8ea6b4f87
@ -237,11 +237,12 @@ void SkAndroidSDKCanvas::onDrawImage(const SkImage* image,
|
||||
}
|
||||
|
||||
void SkAndroidSDKCanvas::onDrawImageRect(const SkImage* image,
|
||||
const SkRect* in,
|
||||
const SkRect& out,
|
||||
const SkPaint* paint) {
|
||||
const SkRect* in,
|
||||
const SkRect& out,
|
||||
const SkPaint* paint
|
||||
SrcRectConstraint constraint) {
|
||||
FILTER_PTR(paint);
|
||||
fProxyTarget->drawImageRect(image, in, out, filteredPaint);
|
||||
fProxyTarget->drawImageRect(image, in, out, filteredPaint, constraint);
|
||||
}
|
||||
|
||||
void SkAndroidSDKCanvas::onDrawPicture(const SkPicture* picture,
|
||||
|
@ -72,8 +72,8 @@ protected:
|
||||
const SkPaint& paint) override;
|
||||
|
||||
void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) override;
|
||||
void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*)
|
||||
override;
|
||||
void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPaint*,
|
||||
SrcRectConstraint) override;
|
||||
void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*);
|
||||
|
||||
// PASS THROUGH
|
||||
|
Loading…
Reference in New Issue
Block a user