Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5dfb65a

Browse files
committed
Update goldens and small fixes
1 parent 03ccad2 commit 5dfb65a

10 files changed

+1
-3
lines changed

flow/layers/picture_layer.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ void PictureLayer::Preroll(PrerollContext* context, const SkMatrix& matrix) {
2424
if (auto* cache = context->raster_cache) {
2525
TRACE_EVENT0("flutter", "PictureLayer::RasterCache (Preroll)");
2626

27-
SkMatrix ctm = matrix;
28-
ctm.postTranslate(offset_.x(), offset_.y());
29-
cache->Prepare(context->gr_context, sk_picture, ctm,
27+
cache->Prepare(context->gr_context, sk_picture, matrix,
3028
context->dst_color_space, is_complex_, will_change_);
3129
}
3230

63 Bytes
Loading
-7.79 KB
Loading
-8.78 KB
Loading
-9.03 KB
Loading
-4.99 KB
Loading
-5.27 KB
Loading
-8.68 KB
Loading
-5.54 KB
Loading
-20 Bytes
Loading

0 commit comments

Comments
 (0)