This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
shell/platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ DefaultLayerBuilder::~DefaultLayerBuilder() = default;
3737void DefaultLayerBuilder::PushTransform (const SkMatrix& sk_matrix) {
3838 SkMatrix inverse_sk_matrix;
3939 SkRect cullRect;
40- if (sk_matrix.invert (&inverse_sk_matrix)) {
40+ // Perspective projections don't produce rectangles that are useful for
41+ // culling for some reason.
42+ if (!sk_matrix.hasPerspective () && sk_matrix.invert (&inverse_sk_matrix)) {
4143 inverse_sk_matrix.mapRect (&cullRect, cull_rects_.top ());
4244 } else {
4345 cullRect = kGiantRect ;
4446 }
45-
4647 auto layer = std::make_unique<flow::TransformLayer>();
4748 layer->set_transform (sk_matrix);
4849 PushLayer (std::move (layer), cullRect);
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ - (void)application:(UIApplication*)application
129129
130130- (BOOL )application : (UIApplication*)application
131131 continueUserActivity : (NSUserActivity *)userActivity
132- restorationHandler : (void (^)(NSArray *))restorationHandler {
132+ restorationHandler : (void (^)(NSArray <id<UIUserActivityRestoring>> *))restorationHandler {
133133 return [_lifeCycleDelegate application: application
134134 continueUserActivity: userActivity
135135 restorationHandler: restorationHandler];
You can’t perform that action at this time.
0 commit comments