diff options
author | 2015-07-14 10:54:12 -0700 | |
---|---|---|
committer | 2015-07-14 10:54:12 -0700 | |
commit | a5517e2b190a8083b38964972b031c13e99f1012 (patch) | |
tree | 16fc3439de41b3af1e85c360904e96c44a2b8078 /tests | |
parent | 4abc186d029c3c57a53cec3f483de2fff6d4a954 (diff) |
add src-rect-constraint to drawImageRect
Follow-on work
- unify around SrcRectConstraint (i.e. drawBitmapRect)
- remove silly drawBitmapRectToRect alias
- clean-up (possibly remove) alias problems around drawBitmapRect + IRect parameter
BUG=skia:
Review URL: https://codereview.chromium.org/1228083004
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RecordDrawTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp index 1e365bce30..8d6007c6ee 100644 --- a/tests/RecordDrawTest.cpp +++ b/tests/RecordDrawTest.cpp @@ -295,7 +295,7 @@ DEF_TEST(RecordDraw_drawImage, r){ } void onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, - const SkPaint* paint) override { + const SkPaint* paint SRC_RECT_CONSTRAINT_PARAM(constraint)) override { fDrawImageRectCalled = true; } |