Fix straggling SK_VIRTUAL_CONSTRAINT_TYPEs
These were removed with crrev.com/1239193002, but a few were missed in files that are only build on Android framework. Brings the Android build one step closer to building. Review URL: https://codereview.chromium.org/1268603003
This commit is contained in:
parent
da9ccf1754
commit
aa80e425d8
@ -143,10 +143,9 @@ void SkAndroidSDKCanvas::onDrawBitmapRect(const SkBitmap& bitmap,
|
||||
const SkRect* src,
|
||||
const SkRect& dst,
|
||||
const SkPaint* paint,
|
||||
SK_VIRTUAL_CONSTRAINT_TYPE constraint) {
|
||||
SkCanvas::SrcRectConstraint constraint) {
|
||||
FILTER_PTR(paint);
|
||||
fProxyTarget->drawBitmapRect(bitmap, src, dst, filteredPaint,
|
||||
(SrcRectConstraint)constraint);
|
||||
fProxyTarget->drawBitmapRect(bitmap, src, dst, filteredPaint, constraint);
|
||||
}
|
||||
void SkAndroidSDKCanvas::onDrawBitmapNine(const SkBitmap& bitmap,
|
||||
const SkIRect& center,
|
||||
|
@ -43,7 +43,7 @@ protected:
|
||||
void onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
|
||||
const SkPaint* paint) override;
|
||||
void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst,
|
||||
const SkPaint* paint, SK_VIRTUAL_CONSTRAINT_TYPE) override;
|
||||
const SkPaint* paint, SkCanvas::SrcRectConstraint) override;
|
||||
void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
|
||||
const SkRect& dst, const SkPaint* paint) override;
|
||||
void onDrawSprite(const SkBitmap& bitmap, int left, int top,
|
||||
|
Loading…
Reference in New Issue
Block a user