Skip to content

Commit

Permalink
Fix visionOS build break after 278993@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274390
rdar://128394997

Unreviewed, build fix.

Update visionOS code to use the renamed variable.

* Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp:
(WebKit::RemoteRenderingBackend::allocateImageBuffer):

Canonical link: https://commits.webkit.org/278994@main
  • Loading branch information
kkinnunen-apple committed May 20, 2024
1 parent 1adb237 commit 32a7acf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ RefPtr<ImageBuffer> RemoteRenderingBackend::allocateImageBuffer(const FloatSize&

#if ENABLE(RE_DYNAMIC_CONTENT_SCALING)
if (m_gpuConnectionToWebProcess->isDynamicContentScalingEnabled() && (purpose == RenderingPurpose::LayerBacking || purpose == RenderingPurpose::DOM))
imageBuffer = allocateImageBufferInternal<DynamicContentScalingBifurcatedImageBuffer>(logicalSize, renderingMode, purpose, resolutionScale, colorSpace, pixelFormat, adjustedCreationContext, imageBufferIdentifier);
imageBuffer = allocateImageBufferInternal<DynamicContentScalingBifurcatedImageBuffer>(logicalSize, renderingMode, purpose, resolutionScale, colorSpace, pixelFormat, creationContext, imageBufferIdentifier);
#endif

if (!imageBuffer)
Expand Down

0 comments on commit 32a7acf

Please sign in to comment.