Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=254869
rdar://107511773

Unreviewed build fix.

* Source/WebKit/UIProcess/WebPageProxy.cpp:

Canonical link: https://commits.webkit.org/262485@main
  • Loading branch information
pvollan committed Apr 1, 2023
1 parent 8e6de78 commit 957b131
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/WebKit/UIProcess/WebPageProxy.cpp
Expand Up @@ -8716,6 +8716,9 @@ static Span<const ASCIILiteral> gpuMachServices()
return services;
}

#endif // PLATFORM(COCOA)

#if PLATFORM(COCOA) && !ENABLE(WEBCONTENT_GPU_SANDBOX_EXTENSIONS_BLOCKING) || HAVE(MACH_BOOTSTRAP_EXTENSION)
static bool shouldBlockIOKit(const WebPreferences& preferences)
{
if (!preferences.useGPUProcessForMediaEnabled()
Expand All @@ -8727,7 +8730,7 @@ static bool shouldBlockIOKit(const WebPreferences& preferences)
return false;
return true;
}
#endif // PLATFORM(COCOA)
#endif

#if !PLATFORM(COCOA)
bool WebPageProxy::useGPUProcessForDOMRenderingEnabled() const
Expand Down

0 comments on commit 957b131

Please sign in to comment.