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

Unified Diff: src/core/SkLiteRecorder.cpp

Issue 2224753002: SkLiteDL: closing in (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tidy up... only structs in namespace{} Created 4 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/core/SkLiteDL.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkLiteRecorder.cpp
diff --git a/src/core/SkLiteRecorder.cpp b/src/core/SkLiteRecorder.cpp
index 00441fdf84044c90f3427a849c8e96d8d3f03d9a..b712ca6b91896b260514823548ada3b20e6ead2a 100644
--- a/src/core/SkLiteRecorder.cpp
+++ b/src/core/SkLiteRecorder.cpp
@@ -124,7 +124,7 @@ void SkLiteRecorder::onDrawBitmapNine(const SkBitmap& bm,
void SkLiteRecorder::onDrawBitmapRect(const SkBitmap& bm,
const SkRect* src, const SkRect& dst,
const SkPaint* paint, SrcRectConstraint constraint) {
- fDL->drawBitmapRect(bm, src, dst, paint, constraint == kStrict_SrcRectConstraint);
+ fDL->drawBitmapRect(bm, src, dst, paint, constraint);
}
void SkLiteRecorder::onDrawImage(const SkImage* img,
@@ -140,7 +140,7 @@ void SkLiteRecorder::onDrawImageNine(const SkImage* img,
void SkLiteRecorder::onDrawImageRect(const SkImage* img,
const SkRect* src, const SkRect& dst,
const SkPaint* paint, SrcRectConstraint constraint) {
- fDL->drawImageRect(img, src, dst, paint, constraint == kStrict_SrcRectConstraint);
+ fDL->drawImageRect(img, src, dst, paint, constraint);
}
void SkLiteRecorder::onDrawImageLattice(const SkImage* img,
const SkCanvas::Lattice& lattice, const SkRect& dst,
« no previous file with comments | « src/core/SkLiteDL.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698