fix tests for android framework build

Review URL: https://codereview.chromium.org/1263243003
This commit is contained in:
djsollen 2015-08-03 06:03:06 -07:00 committed by Commit bot
parent d45fb5a3a5
commit d8ea6b4f87
2 changed files with 7 additions and 6 deletions

View File

@ -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,

View File

@ -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