Skip to content

Commit

Permalink
REGRESSION (268484@main): Dynamic Content Scaling is disabled
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264463
rdar://117906435

Reviewed by Brady Eidson.

* Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteLayerTreeLayers.mm:
(-[WKCompositingLayer _setWKContents:withDisplayList:replayForTesting:]):
I accidentally copy-pasteo'd WKDynamicContentScalingContentsKey into both
keys instead of WKDynamicContentScalingPortsKey in the second one.

Canonical link: https://commits.webkit.org/270420@main
  • Loading branch information
hortont424 committed Nov 9, 2023
1 parent 84bfb12 commit df2e0bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ - (void)_setWKContents:(id)contents withDisplayList:(WebKit::DynamicContentScali
}

[self setValue:bridge_cast(data.get()) forKeyPath:WKDynamicContentScalingContentsKey];
[self setValue:ports.get() forKeyPath:WKDynamicContentScalingContentsKey];
[self setValue:ports.get() forKeyPath:WKDynamicContentScalingPortsKey];
[self setNeedsDisplay];
}

Expand Down

0 comments on commit df2e0bf

Please sign in to comment.