Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: src/utils/android/SkAndroidSDKCanvas.cpp

Issue 1263243003: fix tests for android framework build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/android/SkAndroidSDKCanvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/android/SkAndroidSDKCanvas.cpp
diff --git a/src/utils/android/SkAndroidSDKCanvas.cpp b/src/utils/android/SkAndroidSDKCanvas.cpp
index f0d3019dd22cff740b1639104005c2ffa8aa27f8..6ee7b064ccf9d9ad0dbeea25f0690c71ba2545af 100644
--- a/src/utils/android/SkAndroidSDKCanvas.cpp
+++ b/src/utils/android/SkAndroidSDKCanvas.cpp
@@ -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,
« no previous file with comments | « src/utils/android/SkAndroidSDKCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698