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

Unified Diff: cc/playback/image_hijack_canvas.cc

Issue 2688503004: cc: Ensure to respect decoded filter quality adjustment in bg images. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/LayoutTests/fast/borders/border-image-side-reduction-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/image_hijack_canvas.cc
diff --git a/cc/playback/image_hijack_canvas.cc b/cc/playback/image_hijack_canvas.cc
index a5d596d7e2f88a1eab3ba5b62cfcad2fe3cbcb26..8262d51bdbfe3d720bcf0096615ab04690e8c61f 100644
--- a/cc/playback/image_hijack_canvas.cc
+++ b/cc/playback/image_hijack_canvas.cc
@@ -105,6 +105,7 @@ class ScopedImagePaint {
SkPaint scratch_paint = paint;
scratch_paint.setShader(
decoded_image.image()->makeShader(xy[0], xy[1], &matrix));
+ scratch_paint.setFilterQuality(decoded_image.filter_quality());
return ScopedImagePaint(std::move(scoped_lock), std::move(scratch_paint));
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/borders/border-image-side-reduction-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698